Hi there Chris,
Are you referring to the Filter Products by Price widget that comes with WooCommerce (https://docs.woocommerce.com/document/woocommerce-widgets/#section-4)?
This widget should work in any widget areas provided by the theme (as long as you are on shop or archive pages).
For any additional feature requests, you can add them to our Ideas Board here:
http://ideas.woocommerce.com/forums/133476-woocommerce
I hope that helps! Have a wonderful day!
Thank you!
-Kelly
Hi Kelly
Yeah I am.
How is it governed… by the shop URL or the shop page template? Because I am using the Divi theme (Elegant Themes), and their widget area doesn’t seem to want to load it but loads other WordPress widgets.
Thank you!
Chris
Hi Kelly
So it seems it is governed by the shop page template.
Is there anyway that the product filter widgets can pair up with the woocommerce shortcodes, instead of it depending on it being the shop template? It is because Divi (Elegant Themes) only depend on woocommerce shortcodes to display the products.
Cheers
Chris
Hello Chris!
Yes, there is a check in the widget code (https://github.com/woocommerce/woocommerce/blob/2a3cedddcd2554dc28b6592d4c07abf9275829f1/includes/widgets/class-wc-widget-price-filter.php#L65) to make sure that the widget is only loaded on the shop page or product archive pages.
To change this functionality and make it load whenever there are any products on the page (from the shortcode), the code would need to be changed. It would be great to have you add this to the Ideas Board (http://ideas.woocommerce.com/forums/133476-woocommerce), which is where developers go to look for future plugin enhancements and features.
Otherwise, if you are already talking to the Divi developers, you could ask them about adding a custom widget for your use case.
Have a good one!
Cheers,
Kelly
Hi Kelly!
This is great. So I commented out that code and it loaded the widget, but it seems to be missing the styling or jQuery? As the UI slider isn’t loading. Does that mean there are other if statements preventing the full load?
https://www.evernote.com/l/AYBAEKoazWdP4749zJW0yFNdgCZVSVHCaOU
I’m a step ahead of you, I have already posted to the ideas board 🙂
Cheers
Chris