Below are documented:
producer.html page for a producerproducers variable to show the list of producersIn addition to these, on the producer.html page you can also use the variables common to all pages.
Displays all products from a producer.
var (
// Number of columns used to display products.
columns int
// Total number of products by the producer.
count int
// Description.
description html
// Producer identifier.
id int
// Name.
name string
// Logo.
producerLogo Image
// Pagination that lets you move to the next products.
pagination Pagination
// Producer products.
products []Product
// Menu to choose product sorting.
sortBy html
)
The producers variable, of type []Producer, is used on all store pages to display the list of producers.
{% for producer in producers %} .. {% end for %}