• Is there a way to set up a button to clear all filters in one fell swoop? Right now a user would have to open the off filter canvas, and ‘x’ off each filter they applied to get back to the default archive view on products section. It would be awesome to have a clear filter function/button right beside the filter button on archive pages.

    Thanks,
    -D

Viewing 3 replies - 1 through 3 (of 3 total)
  • Theme Author oceanwp

    (@oceanwp)

    Hello, I’m pretty sure there is already this kind of thing, have you asked to the WooCommerce team?

    Thread Starter whipsterloaded

    (@whipsterloaded)

    I’m trying to avoid the use of plugins/extensions. I’ve found a snippet to perform the clear all function, but I need to know where the template is that controls the filter function on the archive page. Can you tell me where it is? I’m looking for the toolbar that shows the off-canvas filter button, the grid/list buttons and the results count. I want to add a button right beside your filter button…

    Thanks

    Theme Author oceanwp

    (@oceanwp)

    Hi, this is not a template but a function, I added a filter “oceanwp_off_canvas_filter_button_output” so you can add what you want via your child theme ??

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Clear Filters with single button’ is closed to new replies.