Add class to product category list element if is current product category or in parent category

后端 未结 0 1764
Happy的楠姐
Happy的楠姐 2021-02-01 23:37

I\'m trying to add the class active to an item inside a product category list if I\'m on that taxonomy page.

I\'m listing alle subcategories as a list on a taxonomy page.

相关标签:
回答
  • 消灭零回复
提交回复
热议问题