I modified the Products Archive template and added a categories widget named “Spotlight Categories” and “Products Grid”, now the filtering is working when I click on a category but it’s appending the categories not replacing, for example:
I clicked on Cat A, I see in the URL it’s ‘…?filter_cat=cat-a’ , then I clicked (on the new cat A page) on Cat B, the parameter will become: ‘…?filter_cat=cat-a,cat-b’ .. It appends the filters, I need it to replace cat-a filter with cat-b, how can I do this ?