Support » Plugin: Infinite Ajax Scrolling Lite For Woocommerce » Works well, thank you.

  • Works well, I had to do some modification to re-init the plugin when the product changed due to ajax filtering and ordering.

    Maybe you could integrate this into your next release?

    
      $(window).on('wo_infinite_scroll_re_init', function() {
        if ($(scroll_options.scroll_next_selector).length > 0) {
          loading_finished = false;
          target_url = $(scroll_options.scroll_next_selector).attr('href');
          first_product_unit = $(scroll_options.scroll_content_selector)
            .find(scroll_options.scroll_item_selector)
            .first();
          columns =
            first_product_unit.nextUntil(
              '.first',
              scroll_options.scroll_item_selector
            ).length + 1;
        } else {
          loading_finished = true;
        }
      });
    
  • The topic ‘Works well, thank you.’ is closed to new replies.