Home Forums WoodMart support forum How to activate attribute sidebar filter only after selecting a category

How to activate attribute sidebar filter only after selecting a category

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #207065

    monsef
    Participant

    i added a code to the sidebar.php page in the Woodmartt theme i’ll include it as a picture in the files. https://ibb.co/qY8J5Fh

    all i want is to activate the product attribute filter only after i chose a category and deactivate it when i’m in the main shop page. https://ibb.co/3Rm7M9R

    #207087

    Hello,

    There is much easier way to do it. Just add WOODMART WooCommerce Layered Nav widget to the Shop page widget area and chose the categories where to show.

    You do not need to add any code.

    Best Regards

Viewing 2 posts - 1 through 2 (of 2 total)