App reviews, troubleshooting, and recommendations
Hi there,
I use Order Printer to print out invoices.
I created the single-line-text Metafield order.metafields.my_fields.invoice_number to assign invoice numbers to each order to complement the order numbers that Shopify already generates.
How can I make the invoice number appear on the print?
I've tried so many solutions offered on this forum, but all were without success. Would greatly appreciate some help to edit the template correctly. Thank you in advance!
Hello,
Did you manage to solve this as I have the same requirement and I am also failing to output my metafield.
Regards,
Darren.
I too am in need of a solution to this. I have a metafield for orders that allows me to add a Purchase Order number to a given order if required. I am able to conditionally add this to the email order invoices, but I cannot seem to access this metafield through Order Printer.
Hoping someone has stumbled on a solution....
Unfortunately I am also still looking for a solution to this 🙄
How do you add PO number to emailed invoice?
For emails, I have added a new metafield in store settings as per the first post. (in my case, its just "custom.purchase_order_number" with appropriate description )
Then under "notifications" in settings, I edited the "order invoice" and "draft order invoice" templates to to conditionally show the PO number if it has been set for an order.
{%- if order.metafields.custom.purchase_order_number %}
<br/><span class="order-number__text">
Purchase Order No: {{ order.metafields.custom.purchase_order_number }}
</span>
{%- endif %}
Specifics of the template will vary based on what you already have, but that is the gist of it.
With Order Printer app, I have just made use of the "Notes" field in orders to add something like "PO Number: xyznb12" and highlighted that in the template. Not ideal but it will do until we can use custom metafields here instead. Could technically use the "Notes" field for both email and printed invoices, but then it means you need to be careful what you put in that field for all orders.
In Canada, payment processors, like those that provide payment processing services t...
By Jacqui Mar 14, 2025Unlock the potential of marketing on your business growth with Shopify Academy's late...
By Shopify Mar 12, 2025Learn how to increase conversion rates in every stage of the customer journey by enroll...
By Shopify Mar 5, 2025