The addon allows you to sort products in a category by the selected feature or product code. It facilitates the search for the desired product and makes shopping more convenient for customers.
Purpose
The addon solves a typical store task — to give customers the ability to sort products not only by price, name or date, but also by arbitrary features (color, size, volume, etc.) and by product code.
How it works
The addon uses hooks get_products, products_sorting, get_product_feature_data_before_select and get_product_features. In feature settings (Administration → Catalog → Product features), for each feature you can enable the "MS: Use for sorting" option. Features with this option appear in the list of available sortings on the storefront in categories.
For numeric features, the "MS: Sort as numbers" option is available — without it, values are sorted as strings (e.g., 10 would come before 2).
Additionally, you can enable pre-sorting by stock availability — in-stock products will be displayed first.
Where to find in admin panel
Addon settings: Add-ons → Manage add-ons → Product sorting by features. Feature settings for sorting: Catalog → Product features (columns "MS: Use for sorting" and "MS: Sort as numbers").
Dependencies
The addon works with the basic CS-Cart functionality. Compatible with product_variations and ecl_instock_sorting addons.
- Store Builder
- Store Builder Ultimate
- Multi-Vendor
- Multi-Vendor Plus
- Multi-Vendor Ultimate
- Vendors
- English
- Русский
- 4.18.X
- 4.17.X
- 4.16.X
- 4.15.X
- 4.14.X
- 4.13.X
- 4.12.X
Installation
The addon is installed via the standard CS-Cart interface: Add-ons → Manage add-ons. Find "Product sorting by features" and click "Install".
Configuration
After installation, open the addon card and configure:
- Pre-sort by availability — when enabled, in-stock products will be displayed first for any selected sorting.
To add features to the sorting list, go to Catalog → Product features. For the desired feature, enable "MS: Use for sorting". For numeric features (volume, weight, etc.), enable "MS: Sort as numbers" for correct sorting.
Using the addon
On the storefront, in a product category, the sorting block will show additional options — by product code and by each enabled feature. The customer can select the desired option from the dropdown.
Sorting names can be changed in Administration → Languages → Translations. Look for keys: sort_by_code_asc, sort_by_code_desc, sort_by_ms_sorting_by_features_(feature_code)_asc, sort_by_ms_sorting_by_features_(feature_code)_desc. For Ultimate theme — with prefix abt__ut2..
Verification
Open a category on the storefront, select sorting by feature — products should reorder. Check numeric sorting on features with numbers.
Maintenance
Update — via Upgrade Center or manually from the addon repository. Uninstall — via Add-ons → Manage add-ons.
v1.4.0
20.02.2026
- [+] Module standardization
- [\*] Short tags <? changed to standard <?php
- [\*] Module template updated
v1.3.4
30.06.2023
- [\*] License files updated
v1.3.3
17.04.2023
- [+] Module standardization
v1.3.2
20.03.2023
- [!] Bug fixed
v1.3.1
07.02.2023
- [\*] License files updated
v1.3.0
01.02.2023
- [+] Addon settings moved to product feature settings
v1.2.4
26.12.2022
- [+] Module standardization
v1.2.3
09.10.2022
- [+] Module standardization
v1.2.2
28.09.2022
- [+] Check for numeric feature types
v1.2.1
05.09.2022
- [\*] Product stock availability check for versions 4.12.1 and below
v1.2.0
26.08.2022
- [\*] Adapted for new cs-cart versions
- [\*] Removed per-sorting settings, now multiple sortings can be selected in store settings
- [!] Fixed sorting-related errors and crashes
v1.1.3
19.08.2022
- [\*] Changes in module files
v1.1.2
19.08.2022
- [\*] Module code standardization
v1.1.1
05.10.2020
- [\*] Addon name and description changed
- [\*] README and CHANGELOG changed
v1.1.0
01.09.2020
- [+] New settings added
- [\*] Filtering logic changed
- [!] Bugs fixed
v1.0.0
26.08.2020
- [+] First release
[+] Added | [-] Removed | [\*] Changed | [!] Bug fixed
Here you can share your opinion and evaluate our work.
Your feedback helps us become better and offer you even better service.