• Resolved Nathan

    (@natedanielz)


    Hi,

    After clicking the load more button, which works good, the extra loaded products don’t have the same design on them as the first 20 products.

    Previously I used Load More Anything (but didn’t work for me) and had the same problem. I therefore created a script which fired the Javascript file when clicking the pagination button and that worked, but somehow it doesn’t work for your load more button.

    This is the code:

    jQuery(document).ready(function() {
    jQuery(“a.lmp_button”).click(function(){
    $.getScript(“https://juneandcharlie.nl/wp-content/plugins/ddprodm/build/ragnar/js/ragnar-shop-landing-v2/ragnarProductsOlivia.js?ver=6.2.2”);
    });
    });

    Could you maybe explain why it doesn’t work, or is there a way I can make it work? I’m using the Divi shop module.

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

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘JavaScript file not firing after clicking load more’ is closed to new replies.