When selecting a filter on a category page, that displays multiple products, a url is built.
For example. Selecting color => red will result in the following url: www.shopurl.com/[category]/[subcategory]...?color=152.
The number being the id. I wish to keep all functionality but display the label. e.g. url..?color=red
I'm not expecting a full "tutorial" on how to this. But I would need some pointers and maybe some answers?
- I suspect that at some point the argument from the url is read and the product collection is filtered. Where does this happen?
- When a filter is clicked the page refreshes with the new url that contains the filter. Where does this happen?