Skip to main content

{product}

Product Substitutions provide current product, identified by product_id parameter (either GET or POST).
{product attr="one_of_the_following"}

Attributes

Attribute nameData returned
id
ref
title
chapo
description
postscriptum
tax_rule_id
brand_id
visibletrue if the product is active, false otherwise
parentThe id of default parent category
positionThe position number in default parent category
createdAtThe date of creation formatted by Date time parameter
updatedAtThe date of last modification formatted by Date time parameter

Date Time optional parameters

ParameterDescription
outputTake date, datetime or time as value to select the return type
formatTake a PHP date format, the format for the current locale will be used if this parameter is empty