Skip to content

acharrex/magento2-extension-ajax-pagination-sorting

Repository files navigation

Shopigo

Magento 2 AJAX Pagination and Sorting extension by Shopigo

AJAX powered extension increasing your conversion rate by optimizing the page load time and reducing server load.

When a change is done from the toolbar, for example, when a customer selects a page number or changes the sort order of products, the page is automatically reloaded with AJAX.

Requirements

Magento Open Source Edition 2.2 or 2.3

Installation

Important: this extension requires the AJAX Listing extension by Shopigo (to install and enable)

Method 1 - Installing via composer

  • Switch to your Magento project root
  • Run composer require shopigo/magento2-extension-ajax-pagination-sorting

Method 2 - Installing using archive

  • Download ZIP Archive
  • Switch to your Magento project root
  • Create folder app/code/Shopigo/CatalogAjaxToolbar
  • Extract zip into path

Enable extension

  • Switch to your Magento project root
  • Run the following commands to enable the module and clear static contents generated by Magento:
php bin/magento module:enable Shopigo_CatalogAjaxToolbar
php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento setup:static-content:deploy

How to use it

  • Log into your Magento back-office
  • Go to the menu "Stores > Configuration > Shopigo Extensions > AJAX Pagination and Sorting"
  • Set the parameter "Use AJAX to Load Product Listings" to "Yes"
  • Flush Magento caches from the menu "System > Tools > Cache Management"

Screenshots

Step 1 - Change the display mode

Step 1 - Select a filter

Step 2 - Products are loaded with AJAX

Step 2 - Products are loaded with AJAX

Step 3 - Results are shown without reloading the page

Step 3 - Results are shown without reloading the page

When an error occurs with the AJAX request

When an error occurs with the AJAX request

Extension settings

Extension settings

Support

If you have any issues, open a bug report in GitHub's issue tracker.

Change logs

Version 1.0.1 (2019-02-07)

  • Fix composer.json for Magento 2.3

Version 1.0.0 (2018-10-09)

  • First version

License

The code is licensed under Open Software License ("OSL") v. 3.0.


Enjoy!