Show discount amount on line item on Order Printer invoice template

New Member
6 0 0



Can anyone help with showing discount amount on each line item please.  My code is below. have tried all the variables but I'm just not an html wizard. also attached current invoice layout so i would like the discount amount to be sat between the price net and net total. Its an automatic discount, no code. Thank you!


<h4 style="margin: 0 0 1em 0;">Item Details</h4>

<table class="table-tabular" style="margin: 0 0 1.5em 0;">
{% if show_line_item_taxes %}
<th>Price each</th>

{% endif %}

<th>Net total</th>

{% for line_item in line_items %}
<td>{{ line_item.quantity }} x</td>
<td><b>{{ line_item.title }}</b></td>
{% if line_item.original_price != line_item.price %}
<s>{{ line_item.original_price | money }}</s>

{% endif %}
{{ line_item.price | money }}


{% if line_item.tax_lines %}

{% endif %}

<td>{{ line_item.price | times: line_item.quantity | money }}</td>

{% endfor %}





Replies 2 (2)
Shopify Partner
4 0 1

Could definitely use some help on this one as well. Having a difficult time accessing the discount(s) object through Order Printer.

2 0 1

Having the same problem, please help...