New answers tagged

1

You can use either query parameters or a second URL segment to have both the store and the country available for filtereing. For example, let's say your base URL for a store page is something like this: example.com/barnesnoble/. You can set your links for countries to either of those: example.com/barnesnoble/us example.com/barnesnoble/?country=us Then in ...


1

I found the issue about this problem. I have in my code {% set selectedCategory = craft.app.request.getQueryParam('category') %} but I change getQueryParam with queryParams('category'); {% set selectedCategory = craft.app.request.queryParams('category') %} and the problem was solved


Top 50 recent answers are included