Skip to main content

Tax Rule Country

Taxes by country loop.
{loop type="tax_rule_country" name="the-loop-name" [argument="value"], [...]}

Arguments

ArgumentDescriptionDefaultExample
askto choose the function provided by te looptaxesask="countries"
country *the country where the tax appliesnullcountry="14"
statethe state where the tax appliesstate="45"
tax_rule *the tax rulenulltax_rule="2"

Plus the global arguments

Outputs

VariableValue
$COUNTRYthe country
$POSITIONthe tax rule position
$STATEthe state
$TAXthe tax id
$TAX_DESCRIPTIONthe description of the tax
$TAX_TITLEthe title of the tax
$TAX_RULEthe tax rule

Plus the global outputs

Ask expected values

Arguments

ValueDescription
countrieslist all country/state having the same taxes configuration (same tax rule, same taxes, same order)
taxeslist taxes for this tax rule and country/state