Forums › Forums › Search & Filter Pro › Filters and Infinite scroll
Tagged: filters, infinite scroll, infinite_scroll
- This topic has 27 replies, 2 voices, and was last updated 6 years, 3 months ago by Anonymous.
-
Anonymous(Private) July 20, 2018 at 7:14 pm #183116
Hi,
I have installed a search page with a search form. You can see it clicking the link below:
https://lyra-preprod.westeurope.cloudapp.azure.com/saMy problem is I cannot get the product_tag taxonomy filter to work. It doesn’t filter. The same occurs with the sale_price metadata filter. Other filters like product_cat are working fine. What can be wrong?
On the other hand, the infinite loop is not working either. I have set the “Post / Result Selector” and the “Infinite Scroll Container” fields according to my search.php template. “Infinite Scroll Trigger” is set by default at “-100px”. Do you know what’s wrong here?
Thank you for your help!
Trevor(Private) July 23, 2018 at 4:46 pm #183203I only see three categories for product category. If I click one of them, it seems to filter for me?
As for sale_price, I see two meta keys, one called _sale_price and one called sale_price. In the database I see no values for either, only with 0 in the value field. Are you sure you have the correct meta key?
Anonymous(Private) July 24, 2018 at 7:22 pm #183367We are building this site now and it is under testing status. Therefore, there are only a few terms created for the existing product taxonomies.
Quote of my first message:
“My problem is I cannot get the product_tag taxonomy filter to work. It doesn’t filter. The same occurs with the sale_price metadata filter. Other filters like product_cat are working fine.”So yes, product categories are working fine. However, product tags aren’t. Would you know why?
About price, you are right, I’m working with a plugin which overrides the natural behavior of WC and prices are in a meta field in json format. So I suppose that I will not be able to use the plugin with that field 🙁
Trevor(Private) July 25, 2018 at 10:57 am #183406I think the problem is the way the page loop is working, and it does not seem to work with our ‘As an Archive’ method.
In the past I have seen BeTheme, but where the content is built in a page builder called Muffin Builder. But your site appears to have WPBakery Page Builder, for which we do an integration (and I think we cna also integrate with Muffin Builder).
The page I currently see uses Masonry, so that also will cause some problems. How did you build this search page, as I do not see a page with this names in Pages?
I think the problem with prices is associated with the above, not that it is stored in json format.
Anonymous(Private) July 25, 2018 at 3:15 pm #183483I made things that way, according to this document:
https://searchandfilter.com/documentation/search-results/as-an-archive/If you can find conflicts between the plugin and the code of my search.php or my content-product-search.php I will appreciate you tell about them.
Thank you.
-
AuthorPosts