AnonymousInactive
Hi Trevor, Initially I used the shortcode display method on a custom page. Then i switched to the woocommerce and deleted the old search results page.
What Display Results method were you using in S&F?
Search and Filter does not overwrite any theme/WooCommerce settings, so I am wondering how that shortcode remnant is still showing.
Hi Johnny
You’re right on that approach.
Everytime data is updated for a post this must be run.
The cache has always run on the WP filter save_post
which is fired when almost anything happens to a post, whether it deleted or updated etc…
However it seems this is not happening when there is a sale, so save_post
is not called – perhaps an WooCommerce update changed the way this works if it was working previously.
Anyway, I like to support WooCommerce, so if you can dig out the right action/filter to grab the post ID after a sale is made, I will include that in S&F itself.
Thanks
AnonymousInactive
Hi, I have set up a basic search form on a site I am working on, and the results aren’t being filtered – it’s just returning all results on the result page.
I’m using the shortcode method, and I’ve looked through the forum and tried changing some of the settings suggested to others experiencing the same issue, but it’s not helping.
I’ve also tried deactivating all the other plugins (apart from Woocommerce), and it’s still an issue.
Can you please let me know what else I can try?
AnonymousInactive
Hey Trevor,
Thanks for the update.
I think I figured out a way to do it.
1. My left side filter bar is set to display results as woocommerce shop.
2. The top search box is again a S&F form but with display set to custom and filename that shows woocommerce products.
Thanks again for all the help.
Regards
Vinay
1. The search box at the top is part of the mystile theme from woothemes
2. The left sidebar is simply one of the templates, and whilst I did not make theat demo, you make a search form, set the display type to WooCommerce Shop and perhaps place the shortcode in that sidebar?
Maybe Ross can confirm that part.
AnonymousInactive
Trevor, but you are assured that it is compatible with WooCommerce. I disabled all other plugins and it is still not working. I use Divi theme. I can give you login and password maybe I did something wrong…
🙁
For now, I can think of no other possibilities. As Ross said previously, S&F doesn’t support this, and the coding to do it would likely be too hard. The only way it would likely work, I think, is if the Theme you used supported WooCommerce, and somehow, at the same time supported using shortcodes on pages, it might work.
On the positive side, this has got me thinking about HOW to achieve your goals, but any solution is not going to happen anytime soon.
Sorry.
AnonymousInactive
Hey there
I’ve just fixed a very odd bug with WooCommerce which I’ve just emailed to you.
I’m hoping this might be related to your issue.
Can you test and let me know?
Thanks