Skip to main content

Cart

Cart loop displays cart information.
{loop type="cart" name="the-loop-name" [argument="value"], [...]}

Arguments

ArgumentDescriptionDefaultExample
orderA list of values
Expected values :
- reverse : reverse chronological item add order
reverseorder="reverse"

Plus the global arguments

Outputs

VariableValue
$IS_PROMOif the product sale elements is in promo or not
$ITEM_IDthe cart item id
$PRICEthe product sale elements price (unit price)
$PRODUCT_IDthe product id
$PRODUCT_SALE_ELEMENTS_IDthe product sale elements id
$PRODUCT_URLthe product url
$PROMO_PRICEthe product sale elements in promo price (unit price)
$PROMO_TAXED_PRICEthe product sale elements in promo price including taxes (unit price)
$QUANTITYthe cart item quantity
$REFthe product ref
$STOCKthe product sale elements available stock
$TAXED_PRICEthe product sale elements price including taxes (unit price)
$TITLEthe product title
$TOTAL_PRICEthe product sale elements price (total price)
$TOTAL_PROMO_PRICEthe product sale elements in promo price (total price)
$TOTAL_PROMO_TAXED_PRICEthe product sale elements in promo price including taxes (total price)
$TOTAL_TAXED_PRICEthe product sale elements price including taxes (total price)

Plus the global outputs