Forums › Forums › Search & Filter Pro › Error: There are 4 Search Forms using display mode WooCommerce Shop
Tagged: error, search forms, WooCommerce Shop
- This topic has 14 replies, 3 voices, and was last updated 6 years, 4 months ago by Trevor.
-
Anonymous(Private) June 29, 2018 at 7:44 pm #181652
Error: There are 4 Search Forms using display mode WooCommerce Shop – you may only have 1.
I bought this so I could have product specific searches on various pages so visitors could filter by the tags attached to the products.
If I cannot do this then I will have to return the plugin and find another but would rather make this work.
I tried searching the forum but so many conversations are marked private I couldn’t find a solution.
Thanks,
KathleenRoss Moderator(Private) June 29, 2018 at 8:07 pm #181653Hi Kathleen
This is a limitation with the current version, however there is a workaround – which may or may not be suitable.
Can you answer the following:
1) The different pages that will have different search forms, are they static pages with different search forms on, or are they taxonomy/product category archives?
2) Once you search, do these need to go to the actual shop page, or would you like the results on a different page?
The problem is, when on the shop, S&F can only connect one search form to the query, but, it doesn’t stop you having multiple different search forms as long as the main one is set.
The workaround is to setup 1 main search form for your shop page, and have the
display results
method set towoocommerce shop
.For each additional form, have the display method set to
Custom
, then in theresults URL
, put the full URL to your shop 🙂Thanks
Anonymous(Private) June 29, 2018 at 9:01 pm #181663I added search queries to both product category shop pages and static pages. I like the results showing the loop archive for the particular category or tag like this https://merequipment.host/product-tag/mg104/
Here are some examples
https://merequipment.host/products/marine-generators/
https://merequipment.host/products/seadrive-power-take-off/If I do the custom method and add the results URL then I don’t see how it filter to the specific products in the parent category. I will give it a try.
Ross Moderator(Private) June 29, 2018 at 9:39 pm #181667Ah ok, so this should still technically work, if you add the main form as mentioned.
Then add additional forms using custom, putting the results URL as the product category archive like:
https://merequipment.host/products/marine-generators/
Then there is 1 crucial option, in the “master” search form, created for the shop, you need to enable
enable on taxonomy archives
under thedisplay results
tab, then your search params will start affecting those queries too.Let me know how you get on.
Thanks
Ross Moderator(Private) July 5, 2018 at 9:03 pm #182035Hi Kathleen
I’m trying to picture the exact setup you’re trying to create (so I can properly advise you) but still don’t fully understand.
Can you explain in more detail, exactly how your ideal scenario would work, with a few examples + links, and description of which search form goes where, and what it should be affecting?
I think once I get my head around this we’ll be in a better position.
Thanks
-
AuthorPosts