Menu Close

Get Support From ShopWired Close

All systems fully operational

Subscribe To Updates
Prefer To Live Chat? Chat directly with ShopWired support Available from 8.00am to 6.00pm (EST) Quickest response time
Send A Message
Response within 24 hours

Menu Close

Menu

categories

The categories.twig view will display all of the categories contained the account (that are not inactive) and that do not have a parent category.


In most circumstances, the categories page will extend the collection.twig template because it's format will follow the usual display of collection pages on your theme.

The categories page has access to the category object which can be used to display details about each category (such as the category name and image) with a link through to the category page, e.g.

{% for category in categories %}
    <a href="{{ category.url }}">
        {{ category.title }}
    </a>
{% endfor %}