Placeholders for insertion of product information in the category page

To insert the product information in the Customer Store category page, use the following placeholders in the Category page UI template (see Viewing and updating a UI template of a Customer Store page):

Placeholder

Description

Type

Example

category.id

Product category ID

Local for the Category page UI template

<p> {{ category.id }} </p>

category.name

Product category name

Local for the Category page UI template

<h2>{{ category.name }}<h2>

category.products[]

An array of the products in the category

Local for the Category page UI template

{% for product in category.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>

{% endfor %}

category.products[].id

Product ID

Local for the Category page UI template

{% for product in category.products %}

<div>

{{ product.id }}

</div>

{% endfor %}

category.products[].promo_name

Product marketing name

Local for the Category page UI template

{% for product in category.products %}

<div>

<h6>{{ product.promo_name }}</h6>

</div>

{% endfor %}

category.products[].logo

Product logo

Local for the Category page UI template

{% for product in category.products %}

<div>

<img src=”{{ product.logo }}”

</div>

{% endfor %}

category.products[].brief_description

Brief product marketing description

Local for the Category page UI template

{% for product in category.products %}

  <div>

    <p>{{ product.brief_description }}</p>

  </div>

{% endfor %}

category.products[].overview

Product marketing description

Local for the Category page UI template

{% for product in category.products %}

<div>

<p>{{ product.overview }}</p>

</div>

{% endfor %}

category.products[].starting_from

The minimum price of a product per month calculated using the minimum price of the plans available for the product

Local for the Category page UI template

{% for product in category.products %}

<div>

<span>{{ product.starting_from }}</span>


</div>

{% endfor %}

category.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 Category page UI template

{% for product in category.products %}

<div>

<a href=”{{ product.buy_link }}”>Buy it</a>

</div>

{% endfor %}

category.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 Category page UI template

{% for product in category.products %}

<div>

<a href=”{{ product.try_link }}”>Try it</a>

</div>

{% endfor %}

category.products[].link

A link to the Customer Store product page

Local for the Category page UI template

{% for product in category.products %}

<div>

<a href=”{{ product.link }}”>See product page</a>

</div>

{% endfor %}