Skip to main content

Product sale elements image

Product sale elements image loop to display images of product's variations.
{loop type="product_sale_elements_image" name="the-loop-name" [argument="value"], [...]}

Arguments

ArgumentDescriptionDefaultExample
idA single or list of product idid="2", id="1,4,7"
orderA list of values see sorting possible valuespositionorder="position-reverse"
product_sale_elements_idA single or list of product sale element idproduct_sale_elements_id="2", product_sale_elements_id="1,4,7"
product_image_idA single or list of product image idproduct_image_id="2", product_image_id="1,4,7"

Plus the global arguments and search arguments

Outputs

VariableValue
$IDProduct id
$PRODUCT_IMAGE_IDProduct image id
$PRODUCT_SALE_ELEMENTS_IDProduct sale element id

Plus the global outputs

Order possible values

Arguments

Ascending valueDescending valueSorted fields
positionposition_reversePosition