Placeholders for insertion of Product information in the Category page
To insert 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 Category page UI template | <p> {{ category.id }} </p> |
category.name | Product Category name | Local for Category page UI template | <h2>{{ category.name }}<h2> |
category.products[] | An array of Products in Category | Local for 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 Category page UI template | {% for product in category.products %} <div> {{ product.id }} </div> {% endfor %} |
category.products[].promo_name | Product marketing name | Local for Category page UI template | {% for product in category.products %} <div> <h6>{{ product.promo_name }}</h6> </div> {% endfor %} |
category.products[].logo | Product logo | Local for Category page UI template | {% for product in category.products %} <div> <img src=”{{ product.logo }}” </div> {% endfor %} |
category.products[].overview | Product marketing description | Local for 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 Plans available for the Product. | Local for 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 Product Service Plans, or a link to ActivePlatform Customer Control Panel for buying a Product, when Product has only one Service Plan. | Local for 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 Product Service Plans, or a link to ActivePlatform Customer Control Panel for ordering a trial version of a Product, when Product has only one Service Plan. | Local for 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 Category page UI template | {% for product in category.products %} <div> <a href=”{{ product.link }}”>See product page</a> </div> {% endfor %} |