Woocommerce-infinite-scroll-and-ajax-pagination On Pagination End Event

3 replies2 participantsUpdated by Andrew Mitchell

  • Avatar: Peter
    Peter
    Participant

    Hi,

    This is follow up on the now closed https://www.8theme.com/topic/woocommerce-infinite-scroll-and-ajax-pagination-2/

    As per thread above we will move to x-store infinity scroll. Just realised that a feature in the 3rd party plugin has the option to include javascript on the On Pagination End which is needed for the waitlist status to update (using https://woocommerce.com/products/woocommerce-waitlist/).

    The attached Javascript is:
    jQuery(‘.filter-wrap .woocommerce-pagination’).hide();
    etTheme.global_image_lazy();
    etTheme.contentProdImages();
    wcwl_apply_event_on_page_update();

    Is there a similar option for your version?

    3 Answers

    Avatar: Andrew Mitchell
    Andrew Mitchell
    Support staff

    Hello, Peter,
    Our topic includes the following relevant hook:

    jQuery(document).on('et_ajax_content_loaded', function({
    // your custom code
    }));

    Best regards,
    The 8Theme Team

    Avatar: Peter
    Peter
    Participant

    Great news thanks.

    Avatar: Andrew Mitchell
    Andrew Mitchell
    Support staff

    Hi,

    You’re welcome!

    Warm Regards,
    The 8Theme Team

Want to reply? Log in, or register with your ThemeForest purchase code, to reply to this topic.

Login / Register