Forums › Forums › Search & Filter Pro › S&F filters no longer working
- This topic has 14 replies, 3 voices, and was last updated 6 years, 7 months ago by Anonymous.
-
Ross Moderator(Private) April 11, 2018 at 12:45 am #171389
Hi Laurence
I can see the issue – your ajax container (in display results tab) is set to
#main
.I’ve checked your old search form, and saw this was set to
#content
, but trying that didn’t work either.Looking at the source of your page, I cannot see either of these selectors.. So I have initially disabled ajax.
After disabling I’ve come across another issue – the results themselves do not update/change.
How did you integrate S&F with those results previously? It would require you having attached S&F to your query somehow – because I couldn’t see this, and it seems quite clear this is set to your WooCommerce shop, I changed your display results method to WooCommerce – and now the results update according to filters that have been selected.
Now, back to the Ajax issue, basically, you need to find a html container / css selector we can target, to tell S&F which area has the results and to update via ajax.
Looking at your source code, I have used this, and it seems to work:
.fl-module.fl-module-post-grid
However I think its better if you attach an ID to your result / WC area – this would be especially useful if Beaver Builder change any of their generated markup, then S&F should work regardless of any future potential changes.
Anyway, hope that’s all sorted now!
Best
Ross Moderator(Private) April 12, 2018 at 10:55 am #171758Hi Laurence
The easiest way of copying the changes I made would be to copy the settings from the
display results
tab of your search form from dev to live – I didn’t make any other changes.Thanks
-
AuthorPosts