Product with multiple URLs in more than 1 category

Question

I’m building a woocommerce site with Divi. Currently, I have a lot of product that parked under more than 1 category. Each category has its own colour style that differentiate them.

As example. Product Cap is under category A and B.

What I want to achieve is this: To enable Product category slug into the URL:

mysite.com/shop/catagory_A/cap

mysite.com/shop/catagory_B/cap

It the same product but it will show different URL when the user clicked it from the respective category. I have enabled the permalink option Shop base with category but it still not working as intended.

Another stuff that I want to achieve is to apply category CSS or customise them based on the category without changing the others. Product Cap under category A should follow its category style background colour etc. Product Cap under category B should follow its category style background colour etc.

0
, J9000 1 year 2020-07-17T09:10:22-05:00 0 Answers 50 views 0

Leave an answer

Browse
Browse