Sorting

https://github.com/magesuite/sorting

This module merges sorting field select and direction links into one select option.

Installation

This module is a part of MageSuite metapackage

composer require "creativestyle/magesuite-sorting" ^1.0.0

Admin settings

 

Backend

 

TODO - BE documentation and review of documentation is needed

Frontend

Instead of Magento 2 parts functionality (select + direction arrow) this module introduces double select option for ascending and descending directions.

Magento implementation:

Magesuite implementation:

When developing toolbar template: product/list/toolbar.phtml or sorter template product/list/toolbar/sorter.phtml remember that they are overridden in the module.