Welcome to the Dynamic Category documentation.
Whether you are a new or an advanced user, you can find some useful information here.
Firstly, please, find our extension in My Downloadable Products section of our store. Learn how to install extension, and proceed with Quick Start, which will guide you to set up your Dynamic Category service.
php -f bin/magento module:enable Mirasvit_Core Mirasvit_DynamicCategory Mirasvit_Merchandiser
to enable the extension.php -f bin/magento setup:upgrade
to install the extension.php -f bin/magento cache:clean
to clean the cache.Deploy static view files
rm -rf pub/static/*; rm -rf var/view_preprocessed/*; php -f bin/magento setup:static-content:deploy
php -f bin/magento module:enable Mirasvit_Core Mirasvit_DynamicCategory Mirasvit_Merchandiser
to enable the extension.php -f bin/magento setup:upgrade
to install the extension.php -f bin/magento cache:clean
to clean the cache.Deploy static view files
rm -rf pub/static/*; rm -rf var/view_preprocessed/*; php -f bin/magento setup:static-content:deploy
The Dynamic Category extension automatically assigns products to categories. It frees up store managers’ time and reduces the potential for error when assigning products to categories.
In the Magento admin panel sidebar, navigate to Stores > Configuration > Mirasvit extensions > Developer. Verify that Mirasvit_DynamicCategory in ON.
If the extension is OFF, then run in the command line interface the fifth command in the list How to install the extension manually: bin/magento module:enable Mirasvit_DynamicCategory
.
Navigate to Catalog > Categories using the Magento admin panel sidebar. Locate the existing category or add a new subcategory where you want to use the automatic category assignment.
While editing this category, expand the drop-in menu Products in Category. Activate the Dynamic Category option and create the conditions for automatic product selection. Specify these conditions under the section Products Selection Conditions.
Press the Save button to commit changes.
With the Dynamic Category extension, you can use product attributes beyond the standard list. To apply the attributes your store created, they must have activated the option Use for Promo Rule Conditions.
Navigate to Stores > Attributes > Products and select the attribute you need to use for dynamic categories. On the attribute page, open the tab Storefront Properties and scroll down the page to the option Use for Promo Rule Conditions. Move the option activation switch to Yes.
In addition to default Magento product attributes, the Dynamic Category extension creates a set of its own attributes to use in conditions for assigning products to the category. These are:
Is New
Has Active Special Price
Rating [1...5]
Number of reviews
Is New
The attribute Is New monitors the product attribute Set Product as New From. It assigns the product to the category if the current date is between the dates specified in attribute Set Product as New From for the particular product.
The standard Magento New attribute is applied to products that have activated the attribute option New.
Has Active Special Price
With this attribute, a product can be assigned to a category if the current date is in between the dates of Special Price From parameter. This parameter is located on the Advanced Pricing page.
Rating [1...5]
Using this attribute, you can segregate products with the desired user rating. You can specify decimal fraction number from 1 to 5 and condition that the product rating was exactly that specified number, higher or lower.
Number of reviews
Assign products that have a specified number of user reviews.
Put only an integer number if you want to match the exact number of reviews using the condition is.
Source
For multi-channel inventories, you can select products that are located in the same physical location (warehouse, brick-and-mortar store, drop shippers, distribution centers, etc.).
When using the Source parameter, you can specify only one source at once. Add the new Source parameter to add one more source to condition.
You can easily see which categories have the dynamic category option activated. Such categories in the category tree have a green dot in the left upper corner of the folder icon.
Categories should be automatically updated as the changes are applied when the Save button is pressed.
If the category is still displayed as empty on the frontend of the store, navigate to System > Tools > Index Management. Check to see if the Category Products indexer needs reindexing.
To reindex in command line interface, execute the command bin/magento indexer:reindex
. This command reindexes one time only. To keep indexers up-to-date, you must set up a cron job.
You can reindex dynamic categories with the following command:
bin/magento mirasvit:dynamic-category:reindex
The task is to segregate available products for physical activity into their own category.
To do so, create a new category Activity as a subcategory of a Default Category. Read the Magento User Guide on Creating Categories for detailed instructions.
The new Activity category is empty for now:
To automatically fill it with products, activate the dynamic category switch in the drop-in menu Products in Category and this will activate the availability of the option Products Selection Conditions.
Specify the condition as:
Product attributes – Activity
is one of
exact value
Press the button Preview Products to look at the item that will be automatically placed in the Activity category. If some products are missing or wrongfully present – edit the Products Selection Conditions accordingly.
When finished editing the conditions for automatic product assignment for the category – press the Save button.
To upgrade the extension, follow these steps:
composer require mirasvit/module-dynamic-category:* --update-with-dependencies
to update current extension with all dependencies.
composer update mirasvit/*
command. It will update all Mirasvit modules installed in your store. php -f bin/magento setup:upgrade
to install updates.php -f bin/magento cache:clean
to clean the cache.Deploy static view files
rm -rf pub/static/*; rm -rf var/view_preprocessed/*; php -f bin/magento setup:static-content:deploy
To temporarily disable the extension please follow these steps:
php -f bin/magento module:disable Mirasvit_DynamicCategory Mirasvit_Merchandiser
to disable the extension.To uninstall the extension, please follow these steps:
php -f bin/magento module:disable Mirasvit_DynamicCategory Mirasvit_Merchandiser
to disable the extension.composer remove mirasvit/module-dynamic-category
to remove the extension.(2024-11-20)
(2024-11-08)
(2024-09-16)
(2024-09-13)
(2024-09-04)
(2024-08-30)
(2024-08-21)
(2024-08-20)
(2024-08-12)
(2024-07-15)
(2024-06-25)
(2024-05-27)
(2024-05-17)
(2024-05-14)
(2024-05-09)
(2024-05-07)
(2024-05-01)
(2024-04-29)
(2024-04-24)
(2024-04-15)
(2024-03-11)
(2024-02-12)
(2024-02-07)
(2024-01-17)
(2024-01-03)
(2023-12-18)
(2023-11-29)
(2023-11-08)
(2023-11-01)
(2023-10-10)
(2023-10-02)
(2023-09-25)
(2023-09-25)
(2023-09-13)
(2023-09-08)
(2023-09-06)
(2023-08-29)
(2023-08-25)
(2023-08-18)
(2023-08-10)
(2023-07-28)
(2023-07-24)
(2023-07-13)
(2023-06-13)
(2023-06-07)
(2023-05-16)
(2023-04-27)
(2023-04-18)
(2023-04-04)
(2023-04-03)
(2023-03-07)
(2023-03-02)
(2023-02-22)
(2023-01-25)
(2023-01-20)
(2023-01-06)
(2022-12-15)
(2022-12-05)
(2022-12-04)
(2022-11-27)
(2022-11-08)
(2022-11-03)
(2022-10-25)
(2022-10-10)
(2022-10-07)
(2022-10-05)
(2022-09-23)
(2022-09-05)
(2022-08-04)
(2022-07-28)
(2022-07-11)
(2022-06-20)
(2022-06-14)
(2022-05-25)
(2022-05-23)
(2022-03-21)
(2022-02-10)
(2022-01-19)
(2021-12-24)
(2021-11-23)
(2021-11-19)
(2021-11-09)
(2021-11-03)
(2021-10-12)
(2021-08-05)
(2021-06-29)
(2021-05-28)
(2021-04-13)
(2021-04-12)
(2021-01-11)
(2021-01-07)
(2020-12-22)
(2020-12-11)
(2020-12-01)
(2020-11-26)
(2020-11-10)
(2020-10-16)
(2020-10-12)
(2020-10-12)
(2020-10-09)
(2020-10-08)
(2020-10-06)
(2020-09-23)
(2020-09-21)