Skip to main content

Tax rule

loop displaying taxes rules created.
{loop type="tax-rule" name="the-loop-name" [argument="value"], [...]}

Arguments

ArgumentDescriptionDefaultExample
excludeA single or list of tax rule ids to excludeexclude="2", exclude="1,4"
idA single or list of tax rule ids.id="2", id="1,4"
orderA list of values see sorting possible valuesalphaorder="random"

Plus the global arguments

Outputs

VariableValue
$DESCRIPTIONTax description
$IDthe tax id
$IS_DEFAULTcheck if it's the default tax rule
$IS_TRANSLATEDcheck if the tax rule is translated
$LOCALEThe locale used for this research
$TITLETax title

Plus the global outputs

Order possible values

Arguments

Ascending valueDescending valueSorted fields
alphaalpha_reversetitle
idid_reverseid