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...
On our Shopify Expert Marketplace, you can find many trusted third party developers and fr...
By Arno Nov 27, 2023You've downloaded the Search & Discovery app from the Shopify App store, and as you're ...
By Skye Nov 8, 2023The year-end shopping season is just around the corner. Is a flash sale on your radar? Are...
By Jasonh Nov 6, 2023