Hello.
Im building a shop with cornerstone. On the shop page, the user must able to sort products based on the category.
If we select a category in the inline menu, the pages shows the following;
You see, the category name changes, but all the products stay the same.
I’ve builded a custom layout for this page. The products are displayed from a looper. I know that I’ve selected the taxonomie to be all, that is why the page shows all products, but I want it to show the selected category in the inline menu.
The question is, how can I make the looper in a way that if no category is selected, all the products are shown, But when you select for example ‘hoodies’ all the hoodies will be shown.
If needed, admin login details can be provided.
Thanks in advance,
Kenneth.