Hide category resources while listing all products

I have a shop with several categories, each containing several products. While I can list the different categories individually and show their products, I want to have a page where all products (across all categories) are listed together, ideal would be even randomly sorted.

If I call the main shop resource though, I get the category resources in there as well.

   &parents=`2`                    /* ID of shop resource */
   &sortby=`menuindex ASC, id`

How can I show all products in the entire shop without having the categorys listed as well?

You can add &hideContainers=`1` to your snippet call; that should ignore parent resources and only show the children.

1 Like