Skip to main content

Import

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

Arguments

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

Plus the global arguments

Outputs

VariableValue
$CATEGORY_IDthe import category id
$DESCRIPTIONthe import description
$HANDLE_CLASSThe fully qualified name of the class which implements this import
$IDthe import id
$POSITIONthe import position in the containing category
$REFThe import reference, as defined in a config.xml file
$TITLEThe import title
$URLthe URL to start this import in the admin import page

Plus the global outputs

Order possible values

Arguments

Ascending valueDescending valueSorted fields
alphaalpha_reversetitle
idid_reverseId
manualmanual_reverseposition
refref_reversereference