items partial

The items.twig partial renders items appropriate to the view.

It is used to render one of the following:

  • Categories
  • Products
  • Galleries
  • Gallery images


When rendering categories, it's usual to display an image and name of each category, as shown on the example below.

The items partial has access to the categories object.


When rendering products, you have full access to the products object to display all the information about a product.

Galleries & gallery images

When rendering galleries (on the /galleries page) or the images within a gallery, you have access to the gallery and photos objects.