To insert the product information in the Customer Store catalog page, use the following placeholders in the Catalog UI template (see Viewing and updating a UI template of a Customer Store page):
|
Placeholder |
Description |
Type |
Example |
|---|---|---|---|
|
catalog.products[] |
An array of the products in the catalog |
Local for the Catalog UI template |
{% for product in catalog.products %} <div> <img src=”{{ product.logo }}”> <h2>{{ product.promo_name }}</h2> <p>{{ product.id }}</p> <p>{{ product.overview }}</p> <span>{{ product.starting_from }}</span> <a href="{{ product.buy_link }}">Buy it</a> <a href="{{ product.try_link }}">Try it</a> <a href="{{ product.link}}">See Product page</a> </div> <div> <h6>{{ product.category_name }}</h6> <p>{{ product.category_id }}</p> <a href=”{{ product.category_link }}”>Go to Category page</a> </div> {% endfor %} |
|
catalog.products[].id |
Product ID |
Local for the Catalog UI template |
{% for product in catalog.products %} <div> <p>{{ product.id }}</p> </div> {% endfor %} |
|
catalog.products[].promo_name |
Product marketing name |
Local for the Catalog UI template |
{% for product in catalog.products %} <div> <h3>{{ product.promo_name }}</h3> </div> {% endfor %} |
|
catalog.products[].logo |
Product logo |
Local for the Catalog UI template |
{% for product in catalog.products %} <div> <img src=”{{ product.logo }}” </div> {% endfor %} |
|
catalog.products[].category_id |
Product category ID |
Local for the Catalog UI template |
{% for product in catalog.products %} <div> <p>{{ product.category_id }}</p> </div> {% endfor %} |
|
catalog.products[].category_name |
Product category name |
Local for the Catalog UI template |
{% for product in catalog.products %} <div> <h4>{{ product.category_name }}</h4> </div> {% endfor %} |
|
catalog.products[].category_link |
A link to the product category page in Customer Store |
Local for the Catalog UI template |
{% for product in catalog.products %} <div> <a href=”{{ product.category_link }}”>Go to Category page</a> </div> {% endfor %} |
|
catalog.products[].brief_description |
Brief product marketing description |
Local for the Catalog UI template |
{% for product in catalog.products %} <div> <p>{{ product.brief_description }}</p> </div> {% endfor %} |
|
catalog.products[].overview |
Product marketing description |
Local for the Catalog UI template |
{% for product in catalog.products %} <div> <p>{{ product.overview }}</p> </div> {% endfor %} |
|
catalog.products[].starting_from |
The minimum price of a product per month calculated using the minimum price of plans available for the product |
Local for the Catalog UI template |
{% for product in catalog.products %} <div> <span>{{ product.starting_from }}</span> </div> {% endfor %} |
|
catalog.products[].buy_link |
A link to the array of the product service plans, or a link to the Customer Control Panel for buying a product when it has only one service plan |
Local for the Catalog UI template |
{% for product in catalog.products %} <div> <a href=”{{ product.buy_link }}”>Buy it</a> </div> {% endfor %} |
|
catalog.products[].try_link |
A link to the array of the product service plans, or a link to the Customer Control Panel for ordering a trial version of a product when it has only one service plan |
Local for the Catalog UI template |
{% for product in catalog.products %} <div> <a href=”{{ product.try_link }}”>Try it</a> </div> {% endfor %} |
|
catalog.products[].link |
A link to the Customer Store product page |
Local for the Catalog UI template |
{% for product in catalog.products %} <div> <a href=”{{ product.link }}>Go to Product page</a> </div> {% endfor %} |