I am trying to set custom invoice template in Order Printer. I want to show tax rate as a percentage, in Payment details section. Trying to use {{ tax_line.rate_percentage }} but nothing is showing. {{ tax_line.title }} and {{ tax_line.rate}} are showing fine.
Any ideas?
This is how it looks:
Tax rate:
{% for tax_line in tax_lines %} {{ tax_line.title }} {{ tax_line.rate}} {{ tax_line.rate_percentage }}%
{% endfor %}
Hello,
I am experiencing the exact same issue with Shopify Order Printer.
Is there something wrong about the display ? or is it the application Order Printer ?
Thanks
Allright, thanks. I actually got it figured out - the ‘_percentage’ just doesn’t work, but you can use math filters to get the same result. {{ tax_line.rate | times: 100 | round }} does it.