Frequently Bought Together - Magento 2 module documentation
Author: Paweł Wasiluk
Frequently Bought Together Module
Module overview
Combine products into unusual sets of simple products, when products defined by You are purchased together, the customer receives a discount.
Module compatibility
This module is compatibile with Magento Community versions: 2.4.
How it works
After installing to add the first set of products go to Marketing> Aurora Frequently Bought Together> Add Bundles. In the given path there is a table with all sets, to add click on Add New Bundle.
In the form, we complete the name for the name of the set (it is only used for identification purposes in the admin panel) and how big the discount (in percent) for a given set of products should be. In the table below we can add products that will be included in the set. After saving, a basket rule will also be created with a note "bundle" which will be responsible for giving a discount to matching products.
The set will be displayed under matching products.
Demo
Installation
Composer
- Add repo to composer.json:
"repositories": [
...
{
"type": "vcs",
"url": "git@git.auroracreation.com:aurora-modules/frequently-bought-together.git"
}
...
],
- Add package to composer.json:
"require": {
...
"aurora/frequently-bought-together": "*"
...
},
- In Magento root folder run commands:
composer update aurora/frequently-bought-together
php bin/magento module:enable Aurora_FrequentlyBoughtTogether
php bin/magento setup:upgrade
Manual
- Unzip archive.
- Upload extension files on your server to:
{Magento root}
└── app/
└── code
- In Magento root folder run commands:
php bin/magento module:enable Aurora_FrequentlyBoughtTogether
php bin/magento setup:upgrade
Changlog
1.0.8
- Fix code syntex with standards
- Fix unit tests
1.0.7
- Fix return product id type
1.0.6
- Fix infinite loop durring checkout - bug - getting error from cart
1.0.5
- Update to Magento version 2.4
1.0.4
- Add db_schema
- Fix coding standards
1.0.3
- Update README
1.0.2
- Add ACL
1.0.1
- Add error messages
1.0.0
- Initial module