viraxpress / product-sorting
ViraXpress Product Sorting Extension
Package info
github.com/viraxpress/ProductSorting
Type:magento2-module
pkg:composer/viraxpress/product-sorting
Requires
- php: ~8.1.0||~8.2.0||~8.3.0||~8.4.0
README
Description
The ViraXpress Product Sorting Extension is a Magento 2 module that enhances the product listing functionality by providing customizable sorting options. It allows store administrators to configure various sort criteria for product listings on category pages and search results, improving the shopping experience for customers.
Features
-
Flexible Sorting Options: Configure multiple sort options including:
- New Arrivals (based on creation date)
- Best Sellers (based on sales data)
- Most Viewed (based on product views)
- Top Rated (based on product ratings)
- Review Count (based on number of reviews)
- Product Name (alphabetical)
- Price (ascending/descending)
- Position (default Magento position)
-
Display Control: Choose where each sort option appears:
- All categories
- Specific categories
- Catalog search results
-
Out of Stock Handling: Option to display out-of-stock products at the end of listings
-
Descending Sort Support: Configure which sort options have default descending order
-
Category Synchronization: Automatically sync configured sorting options to category settings
-
Elasticsearch Compatibility: Optimized for Elasticsearch search engine, including proper handling of date-based sorting
-
Admin Configuration: Easy-to-use admin panel for configuring all sorting options
Compatibility
- Magento 2.4.x
Installation
-
Install the extension via Composer:
composer require viraxpress/product-sorting
-
Run the following commands from your Magento root directory:
php bin/magento module:enable ViraXpress_ProductSorting php bin/magento setup:upgrade php bin/magento setup:di:compile php bin/magento setup:static-content:deploy -f php bin/magento cache:flush
Configuration
After installation, configure the extension in the Magento Admin Panel:
- Go to Stores > Configuration > ViraXpress > Product Sorting
- Enable the module
- Configure general settings:
- Enable/disable out-of-stock products at end
- Select enabled sort options
- Configure descending sort options
- Customize each sorting option:
- Set custom labels
- Choose display locations (all categories, specific categories, search)
- Select specific categories if needed
Support
For support, please contact ViraXpress at https://www.viraxpress.com or refer to the license agreement.
License
This extension is licensed under the ViraXpress license agreement. See https://www.viraxpress.com/license for details.