App reviews, troubleshooting, and recommendations
Hi
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;">
<thead>
<tr>
<th>Quantity</th>
<th>Item</th>
{% if show_line_item_taxes %}
<th>Price each</th>
{% endif %}
<th>Net total</th>
</tr>
</thead>
<tbody>
{% for line_item in line_items %}
<tr>
<td>{{ line_item.quantity }} x</td>
<td><b>{{ line_item.title }}</b></td>
<td>
{% if line_item.original_price != line_item.price %}
<s>{{ line_item.original_price | money }}</s>
{% endif %}
{{ line_item.price | money }}
</td>
{% if line_item.tax_lines %}
{% endif %}
<td>{{ line_item.price | times: line_item.quantity | money }}</td>
</tr>
{% endfor %}
</tbody>
</table>
Could definitely use some help on this one as well. Having a difficult time accessing the discount(s) object through Order Printer.
Having the same problem, please help...
Did you ever get help with this. I'm also looking for a solution. Thanks a bunch!
So disappointed there is no response to this.
Would have thought this was a popular need!
So many people asking.
How do we do this?
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