[Wix Stores] Selecting a collection using Wix Location Parameters

Hi everyone :raised_hand_with_fingers_splayed:

So I have a mega menu where visitors can navigate through the menu without opening each page, that makes it easier to look for what they want, in this post , I asked about a way to change the multilingual query of Wix Store pages, I did solve that problem but changing the query has no effect on the page at all, perhaps the page is designed only to write queries and not reading them :pensive: Also, Wix Stores galleries don’t have any exposed API that I can use.

What I want is, when a visitor clicks on an item, the product gallery must select the option that the visitor clicked on in the mega-menu, I thought that changing the " collection " query will filter the gallery.

Is there a way around it, or do I have to create other pages and redirect visitors to them ? Because it doesn’t make sense to create dozens of extra pages while they should be able to simply select the collection instead of redirect them to another page.

You can consider it as a question as well as a feature request.

Thanks in advance.
Ahmad

Hello @Ahmad

The Wix store widget does not support Corvid unfortunately.

If you want such a feature you can develop it yourself with either :

  1. a dynamic page + dynamic dataset: create a dynamic page for Stores/Collections and then add a dataset connected to the product collection and filter the products by the selected Wix Store collections

  2. Create a repeater and filter the database on the location query parameter

In both cases, you’ll need to redesign the product listing widget unfortunatly

Thank you Quentin for your reply.

The only way I managed to select the collection is reloading the same page with the query, but it takes too long to reload and killing the purpose of using the mega-menu to make things easier and quicker.

I guess the only option that I have is creating a custom product gallery as you suggested, and make the menu reloads the page until then.

Thank you again Quentin :wink: