Giter Site home page Giter Site logo

magento2-infinitescroll's Introduction

magento2-infinitescroll

Before you continue, ensure you meet the following requirements:

  • You have installed magento2
  • You are using a Linux or Mac OS machine. Windows is not currently supported. Install magento2-instagram extension

Step 1 : Download Magento 2 Infinitescroll Extension

Install via composer (recommend)

Run the following commands in Magento 2 root folder:

composer require magepow/infinitescroll
php bin/magento setup:upgrade
php bin/magento setup:static-content:deploy -f

Install manual

  • extract file from archive
  • deploy file into Magento2 folder app/code/Magepow/Infinitescroll. Run following commands
php bin/magento setup:upgrade
php bin/magento setup:static-content:deploy -f
php bin/magento cache:flush

Step 2: User guide

1. General configuration

Login to magento admin, choose stores->configuration->magepow->infinitescroll

Image of magento admin config

Select yes to enable the module

2. Details Configuration

In stores->configuration->magepow->infinitescroll we set:

  • Delay ms : Delay time for the scroll down.
  • Content : Select the elements you want to be loaded more
  • Pagination: Select the page number to config load more
  • Next : Select the link for the next page
  • Item : Select for the class name that you want to config load more
  • Loading text : Place any text you want when loading the page
  • Done text : Done text using when the scroll reachs the bottom
  • Loading Image placeholder : Loaded more icon
  • Load More threshold : When this page number is reached, a button to load more products will be shown instead of continue loading products automatically with the scroll
  • Load More button text: Set an offset before page end from which the content will start to load

Run the following command:

php bin/magento cache:clean

3. Result

Image of magento store front Image of magento store front

Donation

If this project help you reduce time to develop, you can give me a cup of coffee :)

paypal

Free Extensions List

Premium Extensions List

Featured Magento Themes

Featured Magento Services

Latest Stable Version Total Downloads

magento2-infinitescroll's People

Contributors

alothemes avatar thuythunguyen avatar vuhoi292 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.