Archived topic
How to Keep the Off-Canvas-Panel Open when Filter Products
5 replies · Started by Jersey on February 3, 2021
Hi
We use the off-canvas-panel and add product filter into it. Every time we click on an attribute, the panel would close and we have to click the hamburger again and again if there are several attributes we need to choose.
Is there anyway to keep the panel open (filter still work when we choose an attribute) until we finish the selection and close it off manually? If yes, is there any way to apply it only to the product page, i.e. in other pages the off-canvas panel still close automatically when we click on some link on it?
Thanks in advance
Jersey
Hi there,
the Filter widgets that Woocomemerce includes are not Ajax, so as you will notice, any change to them forces a page reload. You would need to use a plugin that supports Ajax. Good article here on some of the options out there:
https://www.businessbloomer.com/woocommerce-product-ajax-filters/
Hi David
Thanks so much. We've used Yith for Ajax. In the Yith setting there might be some values to fill in. Could you check if there is anything we need to do?
GP uses the default Woocommerce templates, and the default Woo element classes the plugin has set look correct to me!
Thanks for your great help.
You're welcome