Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more
Hello I wish to add the specific sales taxes detail in my invoice and not just a total of taxes as in canada we have federal and provicial sales taxes.
This is the current code I have
<tr>
<td colspan="4" style="text-align: right;">Taxes</td>
<td style="text-align: right;">{{ order.tax_price | money }}</td>
</tr>
Gives me this - Total of all taxes
I want to have the tax details like this
If anyone can help, thanks
Hey @SardinesStudio,
Would you like to share the code of the Shipping label template so that I can update it for you.
Thanks
Hey there, I am not sure what or why you need the shipping label template, maybe you can guide me.
This is for the invoice template in the Shopify Order Printer.
thanks
OK I've had some success...
Changing the code to this adds the lines for my individual tax rates like this
<tr>
<td colspan="5" style="text-align: right;">{% for tax_line in order.tax_lines %}
Tax ({{ tax_line.title }} {{ tax_line.rate | times: 100 }}%):
{{ tax_line.price | money }}
{% endfor %}</td>
</tr>