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!
By investing 30 minutes of your time, you can unlock the potential for increased sales,...
By Jacqui Sep 11, 2024We appreciate the diverse ways you participate in and engage with the Shopify Communi...
By JasonH Sep 9, 2024Thanks to everyone who participated in our AMA with 2H Media: Marketing Your Shopify St...
By Jacqui Sep 6, 2024