faonni/module-smart-category dev-master

SmartCategory module is a base of Smart Categories functionality.

Type

magento2-module

License

OSL-3.0

Requires
Requires (dev)

None

Suggests
Provides

None

Conflicts
Replaces

None

Magento2 Smart Category

Total Downloads Latest Stable Version

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

Magento2 Smart Category

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.

  1. Go to Magento2 root folder

  2. Enter following commands to install module:

     composer require faonni/module-smart-category-kit
    

    Wait while dependencies are updated.

Manual Installation

  1. Create a folder {Magento root}/app/code/Faonni/SmartCategory

  2. Download the corresponding latest version

  3. Copy the unzip content to the folder ({Magento root}/app/code/Faonni/SmartCategory)

  4. Install Smart Category Configurable

Completion of installation

  1. Go to Magento2 root folder

  2. 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. Magento2 Use for Smart Category Rule Save the attribute.

Uninstall

This works only with modules defined as Composer packages.

Remove database data and schema

  1. Go to Magento2 root folder

  2. 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

  1. Go to Magento2 root folder

  2. Enter following commands to remove:

     composer remove faonni/module-smart-category-kit
    

Completion of uninstall

  1. Go to Magento2 root folder

  2. Enter following commands:

    `bash php bin/magento setup:upgrade php bin/magento setup:di:compile php bin/magento setup:static-content:deploy (optional)