Forums › Forums › Search & Filter Pro › Value picked up from other query in another box
Tagged: woocommerce
- This topic has 5 replies, 4 voices, and was last updated 7 years, 2 months ago by Anonymous.
-
Anonymous(Private) June 12, 2015 at 10:25 pm #19468
Hello – I love this plugin but I am using woocommerce and the woocommerce search plugin separately from search filter pro. I use search filter pro to create a form just for posts and pages. The search box for my woocommerce products is right above my search widget for posts and pages. Whenever someone types in something to the woocommerce form and hits enter, it becomes the value for the posts and pages search box even though it was never entered there. How would I fix this? Thank you in advance!!
Anonymous(Private) June 14, 2015 at 10:33 pm #19527Can you post a link to your site? It might help to diagnose the problem. A guess (and just a guess) is that both forms are using the search.php template, and/or the value “s” – changing one or the other should fix the problem, but if you post a link to your page it would allow other forum users to take a look and come up with suggestions.
Ross Moderator(Private) June 23, 2015 at 10:33 am #20077Hi there
Ok, so S&F uses the $_GET[‘s’] variable for doing a text search – this means if there is an
?s=
in the URL this will be used as the search paramater.I’m working on some pretty large updates at the moment, and considering “naming” your own fields – which I think would get around the problem you are having – that being said, I’m only considering it at this stage so it won’t make the plugin for a little while yet. The problem is, a lot of plugins use this same variable for the search term – as this is by default what WP uses…
The URL you link above is not a URL generated by this plugin, and is in fact completely incorrect (the
cfbe_editor
doesn’t exist in this plugin) so you have another plugin interfering and modifying links in your dashboard.I just did a quick search on the forums as its come up before although I don’t I didn’t see the resolution I’m pretty sure it comes from another plugin – https://support.searchandfilter.com/forums/topic/filter-dont-work-after-update-to-1-2-6/#post-7043
Thanks
Anonymous(Private) September 6, 2017 at 2:28 am #129336I had this issue as well. It’s a conflict with this plugin:
https://wordpress.org/plugins/custom-field-bulk-editor/
Deactivating it after use is the best option at the moment (as it’s only a backend tool).
-
AuthorPosts