• Hello, dear developer.

    I came accross and issue when ussing this plugin to create a wpcf7 pop up form, on woocommerce availability text (button). In the url I provided the Red text under some out-of-stock products can be clicked to display the pop up, but if I use the pagination system ( for example go to the second product page ) the button and the pop up stops working!

    What could be causing this issue, or perhaps how could I fix this?

    Thanks in advance,
    Periklis

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

Viewing 1 replies (of 1 total)
  • Hi, it appears your theme loads the next pages via AJAX request after which Easy FancyBox is not made aware of the new content. It does however appear to trigger a custom event that we could hook into…

    If you can add custom javascript to your theme (footer widget or via theme options for example) try this:

    
    <script>
    jQuery(document.body).on("pjax:end",function(){jQuery(this).trigger("post-load");});
    </script>
    
Viewing 1 replies (of 1 total)
  • The topic ‘Fancybox pop up does not work on woo availability text button after pagination’ is closed to new replies.