Forums Forums Search & Filter Pro Filters and Infinite scroll

Viewing 10 posts - 1 through 10 (of 28 total)
  • Anonymous
    #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/sa

    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. 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
    #183138
    This reply has been marked as private.
    Anonymous
    #183195
    This reply has been marked as private.
    Anonymous
    #183197
    This reply has been marked as private.
    Trevor
    #183203

    I 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
    #183367

    We 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
    #183406

    I 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
    #183479
    This reply has been marked as private.
    Anonymous
    #183483

    I 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.

    Trevor
    #183485

    If you are a good coder (you seem to be 🙂 ), you will probably have access to the arguments being given to wp_query?

Viewing 10 posts - 1 through 10 (of 28 total)