Forums › Forums › Search & Filter Pro › Woocommerce search not working
Tagged: woocommerce
- This topic has 22 replies, 2 voices, and was last updated 8 years ago by Trevor.
-
Anonymous(Private) October 23, 2016 at 7:53 pm #65764
I recently bought the search & Filter plugin. I have a created a search and filter for the products in woocommerce but when I use the filters the results keeps only showing a loading circle for the product but not displaying the product image.
Can you help me with this?
Anonymous(Private) October 23, 2016 at 8:04 pm #65770Hi trevor,
Here is the link:http://rangelands.byteable.com.na/products/
Trevor(Private) October 23, 2016 at 8:09 pm #65772Try changing the Results URL to
#content
. It is currently set to#main
, but that selector also contains the form as well as results, which is not allowed (as per the documentation).Trevor(Private) October 24, 2016 at 9:49 am #65823Hi
You are using The7 theme, and this generally requires that you use our Shortcode Display Results method. I have added the results shortcode the products page and set the form to use shortcode and it works. The display is basic, but can be edited. You need to make a custom version of the template, see these instructions:
And then you can edit the results.php template. I can provide some help doing that, if you need.
Anonymous(Private) October 24, 2016 at 10:12 am #65829Hi
Thank you for the detailed information. I have managed to do the following:
1.Create a folder in your theme folder called search-filter
2.Copy the file wp-content\plugins\search-filter\templates\results.php from the templates folder in to the newly created folder in your theme – wp-content\themes\your-theme-name\search-filter\results.phpI would like you to help me customize to show all the results and only change when a specific category is chosen.
Trevor(Private) October 24, 2016 at 10:21 am #65831Hi. I am not certain what you mean when you say ‘only change when a specific category is chosen’?
S&F Pro has 2 submit methods:
1. When the submit button is pressed (if one is in the form).
2. If set to auto submit, it will submit when ANY change is made to the form fields. -
AuthorPosts