Skip to content
English
  • There are no suggestions because the search field is empty.

Barcodes and QR codes on output pages

Add an order barcode or QR code to an Allmoxy output page, add barcodes per line item, and fix a Printable PDF that will not load or shows a blank screen.

A barcode on your cut sheets and shipping tickets lets the shop scan an order into a labor process, mark it Completed or Shipped, and clock time to it, instead of typing order numbers. The pages Allmoxy ships with already carry one. A page you build from scratch needs the snippet below.

Applies to: shops using scanners with job tracking or the scanning station. Editing pages needs the Manage Catalog permission.

In this article

Add an order barcode

The barcode in the header of the Invoice output page

  1. Go to Settings (gear) > E-commerce > Output Pages and open the page.
  2. Scroll to the HTML editor and click Source.
  3. Paste the snippet below where you want the barcode, usually in the header table next to the order number, then save.
<td><img src="/bc.php?t={order_num}&amp;size=50" /><br />

Open the page on an order to check it.

The barcode encodes the order number in Code 128, which is what the scanning station and timecard scanner expect.

Use a QR code instead

Add &amp;qr=1 to the same snippet:

<td><img src="/bc.php?t={order_num}&amp;size=50&amp;qr=1" /><br />

Save, and the QR code appears in place of the barcode.

Barcodes per line item

To scan individual lines rather than the whole order, tick Show Line Item Barcodes in the page's Contents settings. Labels have their own {line_barcode} variable; see Labels.

Printable PDF won't load

The PDF never finishes on a page with an old barcode. Older sites used a longer barcode script. Replace it with the snippet above: click Source, select the old <img ... bc.php ...> line, paste the new one over it and save.

A blank screen in Chrome. This happens most often in Google Chrome, where a firewall or security extension can block the PDF. Click the three vertical dots in the top right of Chrome, choose Settings, then click Extensions at the bottom left, switch the security extension off and reload the PDF. If you are not in Chrome, or that does not fix it, contact support through the chat.

Related articles