Skip to content

Commit f8f005d

Browse files
committed
README.md
2 parents 7afa077 + fe4ebd1 commit f8f005d

File tree

5 files changed

+33
-23
lines changed

5 files changed

+33
-23
lines changed

README.md

Lines changed: 26 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,42 +1,60 @@
1+
<<<<<<< HEAD
12

23
[![Latest Stable Version](https://poser.pugx.org/magepow/infinitescroll/v/stable)](https://packagist.org/packages/magepow/infinitescroll)
34
[![Total Downloads](https://poser.pugx.org/magepow/infinitescroll/downloads)](https://packagist.org/packages/magepow/infinitescroll)
45
[![Daily Downloads](https://poser.pugx.org/magepow/infinitescroll/d/daily)](https://packagist.org/packages/magepow/infinitescroll)
56
# Magento 2 Infinite Scroll
7+
=======
8+
## Magento 2 Infinite Scroll (Magepow Infinite Scroll extension Free)
9+
10+
>>>>>>> fe4ebd17adb6c962084eb1567297b3c7a89b2d60
611
**Infinite scroll** for Magento 2 automatically loads product catalog without reloading the page. Your customers will be pleasantly surprised with supportive navigation and high performance of your web store.
712

13+
[![Latest Stable Version](https://poser.pugx.org/magepow/infinitescroll/v/stable)](https://packagist.org/packages/magepow/infinitescroll)
14+
[![Total Downloads](https://poser.pugx.org/magepow/infinitescroll/downloads)](https://packagist.org/packages/magepow/infinitescroll)
15+
16+
**See more information**:
17+
18+
- [Detail](https://magepow.com/magento-2-infinite-scroll-extension.html)
19+
20+
- [Documentation](https://docs.alothemes.com/m2/extension/infinitescroll/)
21+
22+
- [Video tutorial](https://www.youtube.com/watch?v=gTemvUzrOJg&t=57s)
23+
24+
## How to use Infinite Scroll extension
825
Before you continue, ensure you meet the following requirements:
926

1027
* You have installed magento2
1128
* You are using a Linux or Mac OS machine. Windows is not currently supported.
1229
Install magento2-instagram extension
1330

14-
## Step 1 : Download Magento 2 Infinitescroll Extension
31+
### Step 1 : Download Magento 2 Infinitescroll Extension
1532

16-
## Install via composer (recommend)
33+
#### Install via composer (recommend)
1734
Run the following commands in Magento 2 root folder:
1835
```
1936
composer require magepow/infinitescroll
2037
php bin/magento setup:upgrade
2138
php bin/magento setup:static-content:deploy -f
2239
```
2340

24-
## Step 2: User guide
25-
#### Key features of Magento 2 Infinitescroll Extension:
41+
### Step 2: User guide
42+
#### Key features of Magento 2 Infinite scroll Extension:
2643
* Ajax scroll without interruption.
2744
* Freely scroll down & See what page of the catalog they're on.
2845
* Automatically loading pages.
2946
* Show Loading Button.
30-
* Possibility to give/ share links to certain position.
47+
* Possibility to give/ share links to a certain positions.
3148
* Easy to customize.
3249
* Similar technique as seen on Twitter, Facebook.
3350
* Increase the conversion rate at your store.
3451
* Easy to Change Button and Loading Text.
52+
3553
### 2.1. General configuration
3654

3755
`Login to Magento admin > Stores > Configuration > Magepow > Infinitescroll > Enable > Choose Yes to enable the module.`
3856

39-
![Image of magento admin config](https://github.com/magepow/magento2-infinitescroll/blob/master/media/backend_config.png)
57+
![Image of Magento admin config](https://github.com/magepow/magento2-infinitescroll/blob/master/media/backend_config.png)
4058

4159
In `Stores > Configuration > Magepow > Infinitescroll` we set:
4260
* **Delay (ms)**: Delay time for the scroll down, default 600.
@@ -55,11 +73,11 @@ php bin/magento setup:static-content:deploy -f
5573
```
5674
php bin/magento cache:clean
5775
```
58-
## 2.2. Result
76+
### 2.2. Result
5977

6078
![Image of magento store front](https://github.com/magepow/magento2-infinitescroll/blob/master/media/result_frontend_1.png)
6179
![Image of magento store front](https://github.com/magepow/magento2-infinitescroll/blob/master/media/result_frontend_2.png)
62-
80+
6381
## Donation
6482

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

etc/acl.xml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
1-
<?xml version="1.0" encoding="UTF-8"?>
2-
1+
<?xml version="1.0"?>
2+
33
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Acl/etc/acl.xsd">
44
<acl>
5-
<resources>
5+
<resources>
66
<resource id="Magento_Backend::admin">
77
<resource id="Magento_Backend::stores">
88
<resource id="Magento_Backend::stores_settings">
99
<resource id="Magento_Config::config">
10-
<resource id="Magepow_InfiniteScroll::magepow_infinitescroll" title="Infinite Scroll"/>
10+
<resource id="Magepow_InfiniteScroll::config" title="Infinite Scroll" />
1111
</resource>
1212
</resource>
1313
</resource>
1414
</resource>
1515
</resources>
1616
</acl>
17-
</config>
17+
</config>

etc/adminhtml/menu.xml

Lines changed: 0 additions & 9 deletions
This file was deleted.

etc/adminhtml/system.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<class>separator-top</class>
99
<label>Infinite Scroll</label>
1010
<tab>magepow</tab>
11-
<resource>Magepow_InfiniteScroll::infinite_scroll</resource>
11+
<resource>Magepow_InfiniteScroll::config</resource>
1212
<group id="general" translate="label" type="text" sortOrder="1" showInDefault="1" showInWebsite="1" showInStore="1" canRestore="1">
1313
<label>General Settings</label>
1414
<field id="enabled" translate="label comment" type="select" sortOrder="1" showInDefault="1" showInWebsite="1" showInStore="1" canRestore="1">

view/frontend/templates/infinitescroll.phtml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ if ($loadingImage) {
5050
}));
5151
window.ias.on('rendered', function(items){
5252
$('body').trigger('contentUpdated');
53+
$( "form[data-role='tocart-form']" ).catalogAddToCart();
5354
});
5455
});
5556
});

0 commit comments

Comments
 (0)