Welcome to the documentation of Related Products for Magento 2 extension.
Whether you are a new or an advanced user, you can find some useful information here.
First of all we recommend you check the following link:
php -f bin/magento module:enable Mirasvit_Core Mirasvit_Related
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
Run command php -f bin/magento indexer:reindex mst_related_index
to reindex extension-related data.
Selection Rule - This is the internal function that describes the conditions in selecting some appropriate related products.
Go to Marketing > Related Products > Product Selection Rules. You will see the applicable rules.
You can add a Rule by pressing Add New Rule button. You will see then a Rule edit form, which contains the following basic data:
Primary Source
Primary Source - the source of some related products. The Related Products for Magento 2 extension selects related products based on:
When using the rule "Other Viewed Products" for the Product Blocks, please note that this rule updates the list of related products only if the option "Enable "Product View" Report" is enabled.
To activate the "Enable "Product View" Report", navigate to Stores > Configuration > Reports where you must first activate the option Enable reports. After that, the option Enable "Product View" Report will become available.
Please note that "Other Viewed Products" only takes into account viewed products of logged-in customers.
Use default Magento collections
Under the Primary Source drop-down menu, three additional options are located that allow you to use the default Magento collections.
When the respective checkbox is activated ,the products are fist added from default source and after that – products are added by the created rule.
Rule
Rule - additional conditions to specify what products will be considered as related products.
# Product Blocks
Product Block - a block that displays related products on the store's pages.
Go to Marketing > Related Products > Product Blocks. You will see some available blocks.
You can add a Block by pressing Add New Block button. You will then see a Block in the edit form, which contains some basic data:
This section defines the page and position to display the block.
After changing the position or creating a block, you should clear the Magento cache to apply your changes.
This section defines what products should be added to the block, based on the configured Product Selection Rules.
This section defines the general appearance rules: Block title, number of products, etc.
To upgrade the extension, follow these steps:
Run command composer require mirasvit/module-related:* --update-with-dependencies
to update current extension with all dependencies.
Run instead composer update mirasvit/*
command. It will update all Mirasvit modules installed in your store.
php -f bin/magento module:enable Mirasvit_Core Mirasvit_Related
to enable the extension.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
php -f bin/magento indexer:reindex mst_related_index
to reindex the data related to the Related Products for Magento 2 extension.To temporarily disable the extension please follow these steps:
php -f bin/magento mirasvit:related:cleanup
to cleanup related data.php -f bin/magento module:disable Mirsvit_Related
to disable the extension.To uninstall the extension, please follow these steps:
composer remove mirasvit/module-related
to remove the extension.(2022-05-17)
(2022-05-17)
(2022-05-11)
(2022-02-23)
(2022-02-17)
(2022-02-07)
(2021-11-24)
(2021-06-16)
(2021-04-19)
(2020-12-29)
(2020-12-11)
(2020-12-07)
(2020-11-23)
(2020-10-13)
(2020-09-24)
(2020-08-28)
(2020-07-30)
(2020-07-28)
(2020-07-16)
(2020-02-28)
(2020-02-25)
(2020-02-20)
(2020-02-11)
(2020-02-06)
(2020-01-22)