How to Include Price Per Unit on Draft order invoice Notifications

Hello Community,

I am sending wholesale invoices to my site through draft orders on Shopify and it currently is default to not include price per unit which is quite odd as this is standard for Wholesale Orders.

Is there a line of code I can add to the Default “Draft Order Invoice” notifications in order to be able to have the Item Price Per Unit appear on the invoice?

Thanks in advance for reading and I look forward to getting a reply and solving this issue

It’s not odd at all Shopifys platform is tuned towards general purpose wholesale is atypical.

This would be different if your using the wholesale channel with the shopify Plus enterprise plan which is specifically for that purpose.

What does the relevant parts of your “Draft Order Invoice” notifications code look like? please don’t post a wall of code.

It should be as simple as {{ line_item.price}}/unit or {{ item.price }}

I am also experiencing similar challenge. what can i do to show unit price?

For anybody stumbling upon this thread, add this to your draft order invoice template (around line 226).

{% if line.unit_price_measurement %}
{{ line.unit_price | money }}

{% if line.unit_price_measurement.reference_value != 1 %}
{{ line.unit_price_measurement.reference_value }}
{% endif %}

{{ line.unit_price_measurement.reference_unit }}
{% endif %}

Need more draft order power? Try Draft Order Edit

Edit draft orders with custom prices, sorting, and properties not possible in native drafts.