Product Sorting - Magento 2 module documentation

Author: Mateusz Bereszczuk

Product Sorting Module

Module overview

Make your products easier to find with Magento2 Product Sorting module. Our module lets you take full control over sorting order of your products.

Module compatibility

This module is compatibile with Magento Community versions: 2.2 and 2.3.

How it works

After installation, head to Admin Panel to customize your sorting. Go to Stores > Configuration > Catalog > Catalog > Product Sorting Order

Image 1

Assign a custom number to desired parameters. Weights let you set priority for default category view. Days to count create time lapse for bestselling and most viewed sorter.
After saving changes, in project root directory run command: bin/magento indexer:reindex.

Head to category view in your front store view to use sorters provided by module.

15

Clicking on desired option sorts your products either by number of order, number of view or newest products. You can find it in Catalog > Ctegories > Display Settings

Installation

Composer

  1. Add repo to composer.json:
"repositories": [
    ...
    {
        "type": "vcs",
        "url": "git@git.auroracreation.com:aurora-modules/ProductSorting.git"
    }
    ...
],
  1. Add package to composer.json:
"require": {
    ...
    "aurora/productsorting": "*"
    ...
},
  1. In Magento root folder run commands:
composer update aurora/productsorting
php bin/magento module:enable Aurora_ProductSorting
php bin/magento setup:upgrade

Manual

  1. Unzip archive.
  2. Upload extension files on your server to:
{Magento root}
└── app/
    └── code
  1. In Magento root folder run commands:
php bin/magento module:enable Aurora_ProductSorting
php bin/magento setup:upgrade

Thank you for your interest in our products!