Default service placeholders
For product and catalog pages
Placeholders for TreasureChest's default service
are the same for the 1.1 version as for the 1.0, at the exception that a new
[+config.currency+] placeholder was added to permit retrieving the currency from the module configuration.
The new version also brings the possibility to use
placeholders in a template specified by &item_template. This can be very useful when you want to build a catalog page displaying several products.
For this reason we prefer telling about "Default service placeholders" rather than "Product page placeholders", which is too restrictive. However, it's true that in most cases, the snippet call itself will be done from the product page since it facilitates the work of specifying the item.
Example invocation of the TreasureChest snippet for a catalog page built with Ditto :
[[TreasureChest? &item=`[*id*]` &selector=`item_number`
&item_template=`treasure_chest\templates\product_summary.tpl` ]]
List of placeholders
For the default service, all other placeholders than [+config.currency+] are identical to those of the 1.0 version, we renounce drawing the list here again.
You can find it on the official TreasureChest cart website.