InsertTags

Isotope eCommerce offers a variety of InsertTags that you can use in the frontend.

This feature is only available in Isotope eCommerce 2.3 and later.

The InsertTags have been unified in Isotope eCommerce 2.3. It is possible that you are still using old InsertTags. These will still work until version 3.0, so choose the appropriate new InsertTag from the list below today!

InsertTags for the current shopping cart

InsertTag Description
{{cart::items}} Returns the number of individual products in the shopping cart. The quantities are ignored here. So if My product 1 was added to the cart four times, this InsertTag will only count it once.
{{cart::items_label}} Returns the number of individual products in the cart including the translation. Example: 1 product
{{cart::quantity}} Returns the total number of products in the cart. The quantities are taken into account here. So if My product 1 was added to the cart four times, this InsertTag will count it four times.
{{cart::quantity_label}} Returns the total number of products in the cart including the translation. Example: 4 products
{{cart::subtotal}} Returns the subtotal of the shopping cart. This InsertTag also takes taxes into account.
{{cart::taxfree_subtotal}} Returns the subtotal of the shopping cart. This InsertTag does not take taxes into account.
{{cart::total}} Returns the total of the shopping cart. This InsertTag also takes the taxes into account.
{{cart::taxfree_total}} Returns the total of the shopping cart. This InsertTag does not take taxes into account.
{{cart::billing_address::~}} Returns a desired field from the billing address of the shopping cart. Example: {{cart::billing_address::firstname}}.
{{cart::shipping_address::~}} Returns a desired field from the shipping address of the shopping cart. Example: {{cart::shipping_address::firstname}}.
{{cart::weight::kg}} Returns the weight of the current cart, in the unit specified by the third parameter.
{{cart::~}} All parameters that do not match one of the previous ones will be searched directly on the database table tl_iso_product_collection, where the placeholder refers to the corresponding column. Use this InsertTag e.g. to get the currency: {{cart::currency}}

InsertTags for the current order

To get the current order, the GET parameter "uid" must be in the URL. This is the case on the order confirmation page, for example. It would look something like this: "complete.html?uid=550af3fe73763"

InsertTag Description
{{order::items}} Returns the number of individual products in the order. The quantity information is ignored here. So if My product 1 was ordered four times, this InsertTag will only count it once.
{{order::items_label}} Returns the number of individual products in the order including the translation. Example: 1 product
{{order::quantity}} Returns the total number of products in the order. The quantity information is included here. So if My product 1 was ordered four times, this InsertTag will count it four times.
{{order::quantity_label}} Returns the total number of products in the order including translation. Example: 4 products
{{order::subtotal}} Returns the subtotal of the order. This InsertTag also takes taxes into account.
{{order::taxfree_subtotal}} Returns the subtotal of the order. This InsertTag does not take taxes into account.
{{order::total}} Returns the total of the order. This InsertTag also takes taxes into account.
{{order::taxfree_total}} Returns the total of the order. This InsertTag does not take taxes into account.
{{order::billing_address::~}} Returns a desired field from the billing address of the order. Example: {{order::billing_address::firstname}}.
{{order::shipping_address::~}} Returns a desired field from the shipping address of the order. Example: {{order::shipping_address::firstname}}.
{{cart::weight::kg}} Returns the weight of the order, in the unit specified by the third parameter.
{{order::~}} All parameters that do not match one of the previous ones will be searched directly on the database table tl_iso_product_collection, where the placeholder refers to the corresponding column. Use this InsertTag e.g. to get the order number: {{order::document_number}}

This feature is only available in Isotope eCommerce 2.9 and later.

InsertTags for the current favorites

InsertTag Description
{{favorites::items}} Returns the number of individual products in the favorites. The quantity information is ignored here. So if My product 1 was ordered four times, this InsertTag will only count it once.
{{favorites::items_label}} Returns the number of individual products in the favorites including the translation. Example: 1 product
{{favorites::quantity}} Returns the total number of products in the favorites The quantity information is included here. So if My product 1 was ordered four times, this InsertTag will count it four times.
{{favorites::quantity_label}} Returns the total number of products in the favorites including translation. Example: 4 products
{{favorites::subtotal}} Returns the subtotal of the favorites. This InsertTag also takes taxes into account.
{{favorites::taxfree_subtotal}} Returns the subtotal of the favorites. This InsertTag does not take taxes into account.
{{favorites::total}} Returns the total of the favorites. This InsertTag also takes taxes into account.
{{favorites::taxfree_total}} Returns the total of the favorites. This InsertTag does not take taxes into account.
{{cart::weight::kg}} Returns the weight of the favorites, in the unit specified by the third parameter.
{{favorites::~}} All parameters that do not match one of the previous ones will be searched directly on the database table tl_iso_product_collection, where the placeholder refers to the corresponding column. Use this InsertTag e.g. to get the order number: {{order::document_number}}

Product specific InsertTags

InsertTag Description
{{product::~}} Returns a specific attribute of the current product (product alias in the URL). Example: {{product::name}}
{{product::~::~}} Returns a specific attribute of a specific product (product ID). Example: {{product::name::42}}

InsertTags for translations.

For more information about translations, we refer you to the corresponding documentation.

InsertTag Description
{{isolabel::~}} Returns the translation of a given string in the language of the current page. Example: {{isolabel::My string}}
{{isolabel::~::~}} Returns the translation of a given string in a given language. Example: {{isolabel::My string::en_US}}

Format Simple Token Timestamp with InsertTag.

The following customization of the InsertTag can be used to affect the output of the date and time using the Date function (related link: PHP Date function):

InsertTag Description
{{formatted_datetime::##collection_locked##::d.m.Y}} Enter the desired format using the date function. With d.m.Y the output looks like this 01.09.2014.
{{formatted_datetime::##collection_locked##::date}} With date the date format which you have set under settings or in the start point of the page will be used.
{{formatted_datetime::##collection_locked##::time}} With time the time format which you have defined under settings or in the starting point of the page is used.
{{formatted_datetime::##collection_locked##::datim}} With datim the date and time format which you have defined under settings or in the starting point of the page is used.