Refresh URL when filtering for selected filters
-
Hi,
I am trying to update the URL when the customer filters the products. I found the option to enable the “Refresh URL” at the backend and tried this. But I found that this will enable the URL update for all filters I made using this plugin. I don’t want that.
I have filters for Brands, Models, Conditions and Prices. I have added filters on the shop page for Brand and Condition.My shop page URL is “mywebsite.com/shop/” and I need to update the URL to show “mywebsite.com/shop/hp” if the user selects “HP” from the filter for brands, but if the user filters using the filter for condition URL should not be updated.
Similarly, the page “mywebsite.com/shop/hp” will load all the products under the brand “HP” and on this page, I have a filter for filtering models. For eg, I have models “EliteBook”, “Pavilion” etc. and if I select EliteBook, the URL needs to be updated to “mywebsite.com/shop/hp/elitebook”
Here EliteBook is not a product, it is a product category.My Product URL is “mywebsite.com/shop/hp/elitebook/elitebook-8460p/” where “EliteBook 8470P” is a product.
Is it possible to update the URLs like the above condition?
Could you please help me to tackle this situation?Thanks in advance.
- The topic ‘Refresh URL when filtering for selected filters’ is closed to new replies.