Hello,
I would like to use the Grid Product Gallery on certain dynamic pages and have the products in the gallery filtered by the dynamic page URL.
I see that I can filter the products manually by selecting the collection to filter by or I can create my own repeater and load the products that way via Velo but for ease of use, I would like to simply use the built-in product gallery.
Is it possible to intercept the database query that is run when loading the product gallery and have it load only those products that belong to the collection that corresponds to the dynamic page URL that is being loaded?
For example, if the dynamic page URL is ‘…/collections/widget’, I would like to filter the product gallery to only show products that are in the ‘widget’ collection.
Thank you for any help.