/
Page feature products

Page feature products

Custom pages can contain variables that are replaced with values when the page is presented to a visitor.

Custom pages can also contain logic to display data relevant to the feature products.

Example:

{% for product in products %}<div class="{% if forloop.last == true %}last{% endif %}" id="product_{{product.id}}"><a href="{{product.url}}"><img alt="Cover: {{product.name}}" class="composite" src="{{product.cover_url["s"]}}"></a><p><a href="{{product.url}}">{{product.name}}</a></p></div>{% endfor %}

For a simpler way to output the feature products, see the products_compact_listproducts_extended_listand products_grid_list page variables.

Related content

Custom page variables for feature products
Custom page variables for feature products
More like this
Page variables
Page variables
More like this
Feature
More like this
Spotlight
More like this
Custom page details
Custom page details
More like this
Compose keyword search results link
Compose keyword search results link
More like this