-
Notifications
You must be signed in to change notification settings - Fork 0
How to show line item properties in Draft Order Invoice
soulchild edited this page May 9, 2024
·
10 revisions
To edit the template to include line item properties, go to your store admin > Settings > Notifications > Draft Order Invoice.
Add the code shown below in the template (above the mentioned location), then scroll up and click "Save" on the top right corner.
The edited invoice template will look like this :
Email subject :
Invoice {{name}}
The line item snippet :
{% unless line.properties == empty %}
<ul style="list-style-type: none; padding: 0;">
{% for property in line.properties %}
<li><span class="order-list__item-variant">{{ property.first }}: {{ property.last }}</span></li>
{% endfor %}
</ul>
{% endunless %}