Your account expired support, please renew to get your support.

Home Forums Themes Support Claue “Load more” functionality in categories

Viewing 1 reply thread
  • Author
    Posts
    • #43302
      ivosladur
      Support Expired

      Hello
      Is it possible that when used in the multi-product categories the ‘load more’ module will automatically load the pages down without the need to click the ‘load more’ button
      And then when you go in to look at a product and go back to the category, it doesn’t return you to the top page, but to where you got to.

      Greetings

    • #43303
      Harry
      Support Expired

      Hi,

      1. Please go to Claue > Theme Option > WooCommerce > Product Listing Settings > Enable Infinite Scroll > On.
      2. Please install plugin https://wordpress.org/plugins/header-footer-code-manager/ and add below code to new snippet, but the code only work when pagination as number, it not work with loadmore function.

      <script type=”text/javascript”>
      jQuery(function() {
      jQuery(window).unload(function() {
      var scrollPosition = jQuery(“div#element”).scrollTop();
      localStorage.setItem(“scrollPosition”, scrollPosition);
      });
      if(localStorage.scrollPosition) {
      jQuery(“div#element”).scrollTop(localStorage.getItem(“scrollPosition”));
      }
      });
      </script>

       

      Btw, your support expired. Please renew your support at https://themeforest.net/downloads

      Thank and regards!

      Harry
      Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio

Viewing 1 reply thread

You must be logged in to reply to this topic.