• Resolved agusgonzalezs

    (@agusgonzalezs)


    I want to show the button for the archive page of a category and subcategories of Woocommerce products is it possible? How? I have not been able to show it only on those pages, thanks

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support mediawebster

    (@mediawebster)

    Hello

    Do you mean Side switcher?

    Please use – product_category

    Thread Starter agusgonzalezs

    (@agusgonzalezs)

    Hello!

    thanks for answering. But how can I limit it to a certain category?

    Plugin Support mediawebster

    (@mediawebster)

    Hello

    Unfortunately the plugin does not have this feature.

    But for this behavior you can create custom code. Hook – ‘woocs_show_side_swither’

    Thread Starter agusgonzalezs

    (@agusgonzalezs)

    Thanks! Is there any documentation I can review to help me with the custom code?

    Plugin Support mediawebster

    (@mediawebster)

    Hello

    This hook only passes one parameter (bool)
    And example

    add_filter(‘woocs_show_side_swither’, function($show){

    return false; //to hide
    return true; // to show

    });

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Button Category Woocommerce’ is closed to new replies.