Difference between revisions of "Liquid Template Variables - tax line"
From Spiffy Stores Knowledge Base
(Created page with "A '''tax line''' represents a single line of taxation charges in an order. == <code>tax_line.title</code> == Returns the description of the tax line. <pre> {{ tax_line.titl...") |
m |
||
Line 6: | Line 6: | ||
<pre> | <pre> | ||
− | {{ tax_line.title }} => GST | + | {{ tax_line.title }} => 'GST' |
</pre> | </pre> | ||
Latest revision as of 14:09, 12 February 2016
A tax line represents a single line of taxation charges in an order.
tax_line.title
Returns the description of the tax line.
{{ tax_line.title }} => 'GST'
tax_line.rate
Returns the tax rate of the tax line.
{{ tax_line.rate }} => 0.10
tax_line.rate_percentage
Returns the tax rate of the tax line as a percentage.
{{ tax_line.rate_percentage }}% => 10%
tax_line.price
Returns the amount of the tax. A money filter can be used to return the value as a monetary amount.
{{ tax_line.price | money }} => $12.34