jeudi 2 juin 2016

How to display custom sidebar in specific Woocommerce category?

I have specific question about Woocommerce plugin.

I am using Woocommerce Product Categories widget to show category menu on the left sidebar.

On my website I have a category for special offers (which contains some subcategories and products) and I want other categories to be hidden from Woocommerce Product Categories widget when user opens this "Special Offers" category.

I already tried to create custom sidebar to show only on this category but without luck.

How can I achieve this?

Maybe I can create two seperate widgets - one will display list of category "Special offers" subcategories and second widget will display other categories & its subcategories but.. how to show these widgets with that kind of conditional logic?



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire