I would like to ask is there a way to create a menu by listing categories that are available in Coranto? This way the category menu would be updated automatically when I add a new category in Coranto. Now, I intend to have a two-language website powered by one Coranto installation, so I will have two different sets of categories, depending on the language.
This is what I want to do. I am supposed to create a products page which will first show a list of the main categories products are in, e. g.
- Code: Select all
Category 1
Category 2
Category 3
etc.
Then, every category should link to a page with the list of all products in that category.
I know this can be done by creating a template for every single products page, but is there a way (read: code) that allows me to put it all in a single template? A piece of code that recognizes which category was chosen hence displaying the list of products in that category, i. e. if Category 1 was clicked the page displays the list of products in that category. Then again every item in the list of products would link to the page with the product description.
I hope I described it well enough. Thanks in advance for your help.
