Table of Contents
View Magento 2 Frequently Bought Together Extension Detail Page for Features and Demo
Documentation for Frequently Bought Together
Preference
Frequently Bought Together extension helps to increase sales by providing facility to add multiple products into cart when checking single product or item.
- It helps to optimize your store’s revenue because frequently bought together products can be set in the back-end.
This extension is providing below functionalities.
1. Admin can add frequently bought together product list to the product page of each product item.
2. Different admin product section on product page to add multiple items in frequently bought together list.
3. Customer can select and deselect items from the list also can get the total price of all the items.
4. Customer can add all product to cart by single click.
5. Also admin can enable/disable module from backend , set block position for displaying frequently bought together product block, can edit block title, can set limit of products to display on frontend, etc.
Installation
There are two ways of installing extension in magento2.
- Using COMMAND LINE.
- Manually Install extension.
Option 1: Magento 2 install extension using COMMAND LINE (Recommended)
Follow below steps to install extension from the command line.
Step 1: Download the extension and unzip it.
Step 2: Upload it to code directory in your magento installation’s app directory If code directory does not exists then create.
Step 3: Disable the cache under System → Cache Management.
Step 4: Enter the following at the command line:
Php bin/magento setup:upgrade
Php bin/magento setup:static-content:deploy
Step 5: Once you complete above steps log out and log in back to the admin panel and switch to Stores → Configuration → Mageants → Frequently Bought Together. the module will be displayed in the admin panel.
Option 2: Magento 2 install extension manually
Step 1: Download the extension and unzip it.
Step 2: Upload it to code directory in your magento installation’s app directory If code directory does not exists then create.
Step 3: Disable the cache under System → Cache Management Edit app/etc/config.php file and add one line code: ‘Mageants_Frequently Bought Together.’ ⇒ 1
Step 4: Disable the cache under System → Cache Management
Step 5: Once you complete above steps log out and log in back to the admin panel and switch to Stores → Configuration → Mageants → Frequently Bought Together. the module will be displayed in the admin panel.
Backend Example
- After Installation of Extension login to magento admin panel to set configuration of the extension.
Extension configuration
- You can find configuration at Stores → Configuration → Mageants (from left side menu) → Frequently Bought Together(below Mageants menu). Here you can find module configuration.
Enable : Here you can enable and disable module from backend.
Frontend Title : Frontend block title. It will appear above frequently bought together products in product details page.
Block Position : Specify block position to display frequently bought to gether products. Like above related products, below related products etc.
Number Of Products : Enter number of products to display on fron tend. Only entered amount of products will display on frontend.
Separator Image : Here you can add separator image for frontend products
Add Frequently Bought Together from admin
- Go to admin → catalog → Products → open any one product
- There is different section for frequently bought together products which merged with Related Products, Up-Sell Products and Cross-Sell Products.
- Open “Frequently Bought Together Section”
- Here you can find Frequently Bought Together Section. Its display added products list.
- To add products click on “Add Frequently Bought Together Products” then you will get product grid just select your desired product by select box and click on “Add Selected Products” to add products into list.
- After Adding product the list will look like below image.
Note : Clear cache
- Now go to frontend current product details page to view frequently bought to gether products
Frontend Example
Frequently bought together products will look like on product details page
- Frequently bought together products (which selected from admin) will appear on product page on selected block from admin. You can select block from admin configuration. Check admin section above for more information.
- You can select and deselect products as per your requirements in frequently bought to gether products. Only selected products will add to cart.
- If any product has configure options, custom options, bundle product options etc then you can check those options in show details button
- You can visit particular product by clicking on that product image or product name from list.
- Click on checkbox to remove and add products in list.
- Total price is total of all selected product’s price. It will increase and decrease by selecting and deselecting products.
Add all product to cart
- Add all selected products by clicking on “add all to cart” button. This button also show count of selected products.
- When you click on “add all to cart” button all product will be added to cart like below image.