Forums › Forums › Search & Filter Pro › Filter results not working
Tagged: no submit button, search results
- This topic has 15 replies, 2 voices, and was last updated 9 years, 8 months ago by Ross.
-
Anonymous(Private) February 24, 2015 at 11:58 am #12309
I’ve installed the plugin with WooCommerce and Storefront theme, but to be honest, with a limited technical knowledge I’m struggling with the documentation. I’ve spent several hours trawling through it and making little progress. I think I finally figured out that I have to move the archive-product.php to my theme folder for it to display the same grid as the shop page. However, when I change one of the filter criteria, it loads totally the incorrect results and then stops filtering anything else. I’ve been through the FAQ page and tried looking for WP_Query but didn’t find it, and also using
force is_search to be true
.Also, I’m not getting a button to submit the filter criteria once I’ve selected them. I’ve tried with and without Ajax enabled. Surely, if Ajax isn’t enable there should be a submit button? I’ve tried with the default WordPress theme and also a clean install. I can see the potential of the plugin, but with my level of expertise it’s far from easy to setup. What can I try?
Ross Moderator(Private) February 26, 2015 at 12:16 am #12431Hey Mike sorry to hear you are having problems.
Just to double check (sorry) – did you add a submit button to your search form UI, and when you save the form is it still visible?
Also, can you provide a link so I can have a look at whats going on?
Thanks
Anonymous(Private) February 26, 2015 at 1:07 am #12437I read in some other posts about having to add a submit button. I’ve looked through the options several times but don’t see it. Can you tell me where I find it?
I’m developing the site locally so can’t provide you with a link. However, I did set up a fresh install with WooCommerce and Storefront and have exactly the same problem so I’m guessing it’s theme related?
Ross Moderator(Private) February 26, 2015 at 1:16 am #12440Hey Mike
Under the metabox “available fields” there is a submit button, next to all the other fields – its just a case of dragging this over to the “search form UI” metabox?
It should be similar to this:
Thanks
Ross Moderator(Private) March 3, 2015 at 1:04 am #12709Hi Mike
As mentioned above, I’ll need to see a link in order to help figure out what is going on – are you able to provide one?
Thanks
Anonymous(Private) March 4, 2015 at 8:08 am #12796Hi Ross,
I changed the results container to #main and it appears to have fixed that problem.
However, the results are showing all of my product items regardless of the filter criteria, and placing the filtered items at the beginning of the page. This happens with all of the filter options i.e, tags, categories, meta data etc.. I looked through your documentation and support forum but couldn’t find anything about this. Am I missing something obvious? I don’t see any option for only displaying the filtered results.I also found another issue; On the search form I’m using ‘post meta’ and then choosing one of the drop down options under ‘Meta Key’. When I save the form it doesn’t remember the option I selected and reverts to the first one on the list, which obviously renders the filtered results incorrectly.
-
AuthorPosts