hryvinskyi / magento2-catalog-sorting-pack
Catalog sorting for Magento 2 in the search engine: out-of-stock products and products without images last, per-store Sort By options, and the sort orders Best Sellers, Most Viewed, Now in Wishlists, Top Rated, Reviews Count, New and Biggest Saving on precomputed search-document fields.
Package info
github.com/hryvinskyi/magento2-catalog-sorting-pack
Type:metapackage
pkg:composer/hryvinskyi/magento2-catalog-sorting-pack
Requires
- hryvinskyi/magento2-catalog-sorting: 1.0.*
- hryvinskyi/magento2-catalog-sorting-bestsellers: 1.0.*
- hryvinskyi/magento2-catalog-sorting-metrics: 1.0.*
- hryvinskyi/magento2-catalog-sorting-most-viewed: 1.0.*
- hryvinskyi/magento2-catalog-sorting-newest: 1.0.*
- hryvinskyi/magento2-catalog-sorting-no-image: 1.0.*
- hryvinskyi/magento2-catalog-sorting-options: 1.0.*
- hryvinskyi/magento2-catalog-sorting-out-of-stock: 1.0.*
- hryvinskyi/magento2-catalog-sorting-reviews-count: 1.0.*
- hryvinskyi/magento2-catalog-sorting-saving: 1.0.*
- hryvinskyi/magento2-catalog-sorting-top-rated: 1.0.*
- hryvinskyi/magento2-catalog-sorting-wishlist: 1.0.*
- magento/framework: *
Requires (Dev)
None
Suggests
None
Provides
None
Conflicts
None
Replaces
None
README
Metapackage that installs the catalog sorting module with every rule and sort-order module: listings sorted inside the search engine on precomputed numeric document fields, with out-of-stock products and products without images last, per-store Sort By options, and seven sort orders a shopper can pick.
composer require hryvinskyi/magento2-catalog-sorting-pack bin/magento setup:upgrade bin/magento setup:di:compile bin/magento cache:flush bin/magento indexer:reindex catalogsearch_fulltext
The full catalogsearch_fulltext reindex puts the new document fields into the index mapping; listings keep working before it.
It installs:
hryvinskyi/magento2-catalog-sorting, the core: leading sort rules, shopper sort fields and search-document fields;hryvinskyi/magento2-catalog-sorting-options, per-store Sort By options: hide, rename, reorder, and a default direction per option;hryvinskyi/magento2-catalog-sorting-out-of-stock, out-of-stock products last;hryvinskyi/magento2-catalog-sorting-no-image, products without images last;hryvinskyi/magento2-catalog-sorting-metrics, the scheduled refresh of popularity values into the search documents, and the commandcatalog-sorting:metrics:refresh;hryvinskyi/magento2-catalog-sorting-bestsellers, Best Sellers;hryvinskyi/magento2-catalog-sorting-most-viewed, Most Viewed, with a product page view counter;hryvinskyi/magento2-catalog-sorting-wishlist, Now in Wishlists;hryvinskyi/magento2-catalog-sorting-top-rated, Top Rated;hryvinskyi/magento2-catalog-sorting-reviews-count, Reviews Count;hryvinskyi/magento2-catalog-sorting-newest, New;hryvinskyi/magento2-catalog-sorting-saving, Biggest Saving, per customer group.
Out-of-stock products last is on after installation; every other rule and sort order is off until switched on per store view. Start with Stores › Configuration › Catalog › Catalog Sorting. Each module's README describes its settings and limits.