<!-- TITLE: Frequently Bought Together - Magento 2 module documentation--> <!-- SUBTITLE: 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. ![Image 1](/uploads/frequently-bought-together/i-1.jpg "Image 1") The set will be displayed under matching products. ## Demo demo1.magecreation.com ## Installation ### Composer 1. Add repo to composer.json: ```text "repositories": [ ... { "type": "vcs", "url": "git@git.auroracreation.com:aurora-modules/frequently-bought-together.git" } ... ], ``` 2. Add package to composer.json: ```text "require": { ... "aurora/frequently-bought-together": "*" ... }, ``` 3. In Magento root folder run commands: ```text composer update aurora/frequently-bought-together php bin/magento module:enable Aurora_FrequentlyBoughtTogether php bin/magento setup:upgrade ``` ### Manual 1. Unzip archive. 2. Upload extension files on your server to: ```text {Magento root} └── app/ └── code ``` 3. In Magento root folder run commands: ```text 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 ## Thank you for your interest in our products!