Skip to main content

Product template

Product template loop to display product templates.
{loop type="product_template" name="the-loop-name" [argument="value"], [...]}

Arguments

ArgumentDescriptionDefaultExample
excludeA single or a list of sale ids to excluded from results.exclude="2", exclude="1,4,7"
idA single or a list of sale ids.id="2", id="1,4,7"

Plus the global arguments

Outputs

VariableValue
$IDthe content id
$IS_TRANSLATEDcheck if the content is translated
$LOCALEthe locale (e.g. fr_FR) of the returned data
$NAMEthe template name

Plus the global outputs