Skip to main content

Order product

Order product loop displays Order products information.
{loop type="order_product" name="the-loop-name" [argument="value"], [...]}

Arguments

ArgumentDescriptionDefaultExample
idA single or a list of order product ids.id="2", id="1,4,7"
order *A single order id.order="2"
virtualA boolean value.new="yes"

Plus the global arguments

Outputs

VariableValue
$CART_ITEM_IDThe related Cart Item ID of this order product
$CHAPOthe order product short description
$DESCRIPTIONthe order product description
$EAN_CODEthe product ean code
$IDthe order product id
$PRODUCT_IDthe product id
$PARENTthe parent product in the cart, if the current product has one
$POSTSCRIPTUMthe order product postscriptum
$PRICEthe order product price (unit price)
$PRICE_TAXthe order product taxes (unit price)
$PRODUCT_SALE_ELEMENTS_IDthe order product sale elements id
$PRODUCT_SALE_ELEMENTS_REFthe order product sale elements reference
$PROMO_PRICEthe order product in promo price (unit price)
$PROMO_PRICE_TAXthe order product in promo price taxes (unit price)
$QUANTITYthe order product ordered quantity
$REFthe order product reference
$TAXED_PRICEthe order product price including taxes (unit price)
$TAXED_PROMO_PRICEthe order product in promo price including taxes (unit price)
$TAX_RULE_DESCRIPTIONthe tax rule description for this item
$TAX_RULE_TITLEthe tax rule title for this item
$TITLEthe order product title
$TOTAL_PRICEthe order product price (total price)
$TOTAL_PROMO_PRICEthe order product in promo price (total price)
$TOTAL_TAXED_PRICEthe order product price including taxes (total price)
$TOTAL_TAXED_PROMO_PRICEthe order product in promo price including taxes (total price)
$VIRTUALwhatever the order product is a virtual product or not
$VIRTUAL_DOCUMENTthe name of the file if the product is virtual.
$WAS_IN_PROMOwhatever the order product sale elements was in promo or not
$WAS_NEWwhatever the order product sale elements was new or not
$WEIGHTthe order product sale elements weight

Plus the global outputs