Skip to main content
Using sequential invoice numbers

How to adjust the template code to get a sequential invoice number

Bjorn Forsberg avatar
Written by Bjorn Forsberg
Updated over a week ago

The Shopify Order Printer app (in which our templates are used) does not support sequential invoice numbers by default.ย 

However, it is possible to do with a small change to the template code. The way to do it would be to find this code in your template:

{{ order_name }}

And replace it with:

#{{ order_number | minus: xxxx }}

Note: You must replace the xxxx in the above code with the correct number to start your sequence.

The order number starts at 1 for your first Shopify order, so you minus the needed number to get your correct number series.

Did this answer your question?