<!-- TITLE: Product Sorting - Magento 2 module documentation--> <!-- SUBTITLE: 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](/uploads/product-sorting/image-1.png "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](/uploads/product-sorting/15.png "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: ```text "repositories": [ ... { "type": "vcs", "url": "git@git.auroracreation.com:aurora-modules/ProductSorting.git" } ... ], ``` 2. Add package to composer.json: ```text "require": { ... "aurora/productsorting": "*" ... }, ``` 3. In Magento root folder run commands: ```text 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: ```text {Magento root} └── app/ └── code ``` 3. In Magento root folder run commands: ```text php bin/magento module:enable Aurora_ProductSorting php bin/magento setup:upgrade ``` ### Thank you for your interest in our products!