e-conomix / module-smart-category
SmartCategory module is a base of Smart Categories functionality.
Installs: 729
Dependents: 1
Suggesters: 0
Security: 0
Stars: 0
Watchers: 5
Forks: 20
Type:magento2-module
Requires
- magento/module-catalog: 102.0.*
- magento/module-rule: 100.2.*
Suggests
- faonni/module-smart-category-configurable: Smart Category Configurable
Conflicts
- magento/magento2-ee-base: *
README
Extension Smart Category rules dynamically change the product selection according to a set of conditions (Similar Smart Playlists on iTunes).
You can create categories based on rules you specify, and then update these categories automatically as your products changes.
For example, you could create a category includes only new products. Or you could create a categories of products by a particular brand, color, size, etc. You can add as many conditions to the expression as needed to describe the products to include.
Category edit page
Compatibility
Magento CE 2.1.x, 2.2.x
Install
To install the Smart Category, You must install kit of extensions:
- Smart Category - base of Smart Categories functionality.
- Smart Category Configurable - changes simple products to their parents for configurable products.
Install via Composer (recommend)
The corresponding version of the Smart Category Kit will be installed automatically.
-
Go to Magento2 root folder
-
Enter following commands to install module:
composer require faonni/module-smart-category-kit
Wait while dependencies are updated.
Manual Installation
-
Create a folder {Magento root}/app/code/Faonni/SmartCategory
-
Download the corresponding latest version
-
Copy the unzip content to the folder ({Magento root}/app/code/Faonni/SmartCategory)
-
Install Smart Category Configurable
Completion of installation
-
Go to Magento2 root folder
-
Enter following commands:
php bin/magento setup:upgrade php bin/magento setup:di:compile php bin/magento setup:static-content:deploy (optional)
Configuration
In the Magento Admin Panel go to Stores > Product Attributes. Select any attribute that you’d like to be able to use by in the smart category conditions. On the edit attribute page, under Storefront Properties set Use for Smart Category Rule to Yes. Save the attribute.
Uninstall
This works only with modules defined as Composer packages.
Remove database data and schema
-
Go to Magento2 root folder
-
Enter following commands to remove database data and schema:
php bin/magento module:uninstall -r Faonni_SmartCategoryKit Faonni_SmartCategoryConfigurable Faonni_SmartCategory
Remove Smart Category Kit
-
Go to Magento2 root folder
-
Enter following commands to remove:
composer remove faonni/module-smart-category-kit
Completion of uninstall
-
Go to Magento2 root folder
-
Enter following commands:
php bin/magento setup:upgrade php bin/magento setup:di:compile php bin/magento setup:static-content:deploy (optional)