Hey @info45665 !
Just to be sure, do you want to use Dynamic Pages to show single product or multiple products per different category?
If you want to show multiple products per category, you have 2 options.
-
Define a Text type field in a Products collection for a category. Next, create a dynamic page for the Products collection and then in the settings of such dynamic page make sure this new field is used in URL, e.g. …/myproducts/{category}/{title}.
-
Create a new collection “Categories” and then define a Reference type field in the “Products” collection pointing to Category collection. Next, you need to create a dynamic page for the categories collection. In that page, add another dataset and connect it to the Products collections. To make this dataset return only products for a specific category, define a filter on Products dataset to get only those products that in “Categories” field contain the current item of “Categories Item” dataset.
Either way you go, the next step is to add a repeater and connect it to Products dataset.