• Resolved jairam123

    (@jairam123)


    Hello,

    We are using this plugin for filter products and page is created in elementor with default woocommerce products display.

    We are using all filter with ajax enabled.

    We have two issues to solve.

    1. We are using YITH WooCommerce Wishlist plugin to show wishlist option on shop page products. Wishlist is working fine on page load. But when we apply filter on products with any filter option (Ajax filter), wishlist option disappear. We need to solve this issue.

    2. We added masonry script to make masonry products layout. On load script is working fine and masonry layout is showing. After applying any filter option, we lost masonry layout as its ajax call. Masonry script has a function to reload masonry layout. Is there any script which we can run just after product display on ajax call of filter? This way we can run that function to reload masonry layout.
    Below is link of which script we are using for masonry.
    https://masonry.desandro.com/

    Please help us to solve these two issues.

    Thank You.

    • This topic was modified 3 years, 7 months ago by jairam123.

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Nick McReynolds

    (@woobewoo)

    Hello @jairam123,

    Please contact our internal support team – https://woobewoo.com/contact-us/
    We need more information on this issue.

    Hello,

    On ajax calls, not all your page is built. So no all hooks you can have written are called. And they must be enabled for admin, as the call to ajax is admin-ajax !
    Thus, for your change, my advice would be to do like and insert your needed shortcodes for Yith (or others) directly in your Theme/Cheild theme archive product template, as it is the part called and sent when doing ajax.

    Hope it helps.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘YITH Wishlist and custom jQuery is not working after Ajax filter call.’ is closed to new replies.