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.
GroupByCountryAreaA boolean that specifies whether the results should be grouped by country and geographic area.
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
nameorder="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
$POSTAGEshipping costs associated with each geographic are

Plus the global outputs

Order possible values

Arguments

Ascending valueDescending valueSorted fields
alphatitle
idid-reverseID order
namename-reversename