Ajax with WooCommerce method doesn’t work

Forums › Forums › Search & Filter Pro › Ajax with WooCommerce method doesn’t work

  • This topic has 5 replies, 2 voices, and was last updated 6 years ago by Anonymous.
Viewing 6 posts – 1 through 6 (of 6 total)
  • Anonymous
    #267619

    Hi
    I try to use Search & Filter with WooCommerce on a WPBakery motorized theme (Jupiter).

    According to your documentation, I use the following shortcodes on my page:

    [searchandfilter id="23250"]
    [products search_filter_id='23250']

    and the WooCommerce Display Result method.
    “Load results using Ajax” is checked, as well as “Make searches bookmarkable” option.

    When I try the filter, the page refreshes (and the filter result is correct) instead of using Ajax.
    IF I check “Only use Ajax on the results page” option, then the page doesn’t rerefreshes, Ajax seems to start working, but after quite a long time a long list of unfiltered products is displayed, with all images missing.

    I suspect something related to theme modified WPBakery version, but it’s not certain since I am not using the WPBakery product shortcode, only the one provided by Search & Filter.
    Please also note the site uses WPML.

    Please advise.
    I can provide links to test page and WP admin if private fields can be enabled.

    Anonymous
    #267622
    This reply has been marked as private.
    Trevor
    #267675

    It is possible that the Ajax Container was wrong. Itwas set to .products.mk--row but I have set it now to .vc_custom_1606223246329 .woocommerce

    The filter is very slow, but does filter. However, the images do not appear. Do you have a lazyload feature on for images? That would cause this to happen.

    Anonymous
    #267796

    Hello Trevor
    Indeed, the filter is now very slow images are missing because of some lazyload feature.
    After disabling every lazyload and similar features, the issue persists.
    I found out that if I switch to another theme (like Twenty something), the Ajax filter is faster and images are visible.

    The theme is Jupiter (not Jupiter X) and uses a modified WPBakery version.
    Maybe this issue has been met by someone else? I found another utopic using Jupiter but most comments are private so I can’t figure if the issue is similar.

    I will also open a ticket at Jupiter Artbees support.
    Thank you.

    Trevor
    #267921

    I don’t know why the images do not show. They are there if you inspect the HTML. As for the speed, that may be the masonry/isotope javascript that the grid is using.

    Anonymous
    #267933

    Yes, thank you Trevor, waiting for Artbees/Jupiter support reply.
    Will post it there if I can.

Viewing 6 posts – 1 through 6 (of 6 total)
Search & Filter Support
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.

We also use cookies to store items in your cart as well as allowing your to login on the site.

You can adjust all of your cookie settings by navigating the tabs on the left hand side.

By continuing to use this site, you also agree to our Privacy Policy.