Order barcode for shopify order printer

Topic summary

Issue: Users need to add scannable barcodes representing order numbers to packing slips in Shopify’s new Order Printer app, as the original app is being discontinued.

Solution Provided: A working code snippet was shared that generates barcodes using an external barcode service (barcode.tec-it.com). The code creates an image of the order number in Code128 format:

<img src="https://barcode.tec-it.com/barcode.ashx?data={{ order.name | url_encode }}&code=Code128&dpi=96" alt="Barcode for Order {{ order.name }}" style="margin-top:10px;">

Key Points:

  • Users may need to adjust image size to fit their needs
  • The barcode displays the order number when scanned
  • Code should be placed in the Order Printer template
  • One user noted the barcode service now only loads one barcode at a time
  • Some users requested more advanced features (scanning to navigate directly to orders), which requires paid apps or custom development

Status: Initial question resolved with working code, though implementation questions from less technical users remain ongoing.

Summarized with AI on November 4. AI used: claude-sonnet-4-5-20250929.

Are you just needing the barcode to output the order number when scanned? If so, this worked for me:


You may need to play around with the image size to get it where it suits your needs - It’s a bit large by default.