• Resolved janesoft

    (@janesoft)


    I need to add some function after loadmore event in loadmore plugin to init variations of new loaded products.
    May be something like
    $(‘.variations_form’).each(function(){
    $(this).init_variations_form();
    });
    or a single init function
    I tried to use viwpvs_frontend_init(); but it doesn’t work.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support angelagrey

    (@angelagrey)

    Hi,

    Thank you for reaching out to us.
    Could you please clarify what you’re trying to achieve?

    Thank you.
    Best regards.

    Thread Starter janesoft

    (@janesoft)

    I use a plugin for Loadmore button on catalog page. When I click “loadmore” new products are loaded with empty variations. Authors of loadmore plugin say that I need to ask you what function or what code in your plugin initialize filling of variations. I’ll add this funtion in special file – after loading products event.

    Hello,

    You can use either viwpvs_frontend_init(); or jQuery(document.body).trigger('vi_wpvs_variation_form');

    Because it’s the change in js so you have to make sure to clear site cache, minified js and browser cache.

    As you use premium version, please create your tickets here if you have any other issues or questions.

    Best regards

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Init all functionality after Loadmore’ is closed to new replies.