Skip to main content

Area

Area loop returns shipping zones information.
{loop type="area" name="the-loop-name" [argument="value"], [...]}

Arguments

ArgumentDescriptionDefaultExample
countryA list of country IDs. Only zones including these countries will be returned
idA single or a list of shipping zones ids.id="2", id="1,4,7"
module_idA comma separated list of module IDs. If not empty, only zones for the specified modules are returned.
orderA list of values
Expected values
manualorder="alpha"
unassignedIf true, returns shipping zones not assigned to any delivery module.
with_zoneA module ID. Returns shipping zones which are assigned to this module ID
without_zoneA module ID. Returns shipping zones which are not assigned to this module ID

Plus the global arguments

Outputs

VariableValue
$IDthe shipping zone id
$NAMEthe accessory name
$POSTAGE

Plus the global outputs

Order possible values

Arguments

Ascending valueDescending valueSorted fields
alphaalpha-reversetitle
idid-reverseID order