Skip to main content

Import Category

Import category loop lists all defined import categories.
{loop type="import-category" name="the-loop-name" [argument="value"], [...]}

Arguments

ArgumentDescriptionDefaultExample
idA single or a list of import category ids.id="2", id="1,4,7"
orderA list of values see sorting possible valuesmanualorder="alpha"
refA single or a list of import category references.ref="thelia.import.products", id="thelia.import.products,thelia.import.modules"

Plus the global arguments

Outputs

VariableValue
$IDthe import category id
$POSITIONthe import category position
$REFThe import category reference, as defined in a config.xml file
$TITLEthe import category title

Plus the global outputs

Order possible values

Arguments

Ascending valueDescending valueSorted fields
alphaalpha_reversetitle
idid_reverseId
manualmanual_reverseposition
refref_reversereference