Product Overview
Buy Again is an extension for Magento 2 which allows your customers to quickly re-purchase the products they’ve purchased from your shop in the past. By default, Magento only allows you to re-order the entire order. With the Buy Again Plugin, you can re-order individual products from the My Account Page.
How Buy Again can help your Site?
If you have an eCommerce site in which you sell products which needs to be purchased frequently(Example: Groceries), there should be a convenient way for your customers to purchase from your shop. Your customers should be able to easily identify the products which they have purchased from your shop in the past and re-order them. By default, Magento allows your customers to re-order the entire order. If your customers wanted only to buy a particular product, then it may be difficult for them to locate the product and purchase it.
With Buy Again extension, all the products purchased by your customers will be listed in the “Buy Again” section on the user’s My Account page. Your customers will be able to easily identify and purchase the products they wish to re-order.
Features
* Works for Logged-in Users
* Supported Product Types
– Simple Products
– Grouped Products
– Configurable Products
– Virtual Products
– Bundle Products
– Downloadable Products
* Site Admin can customize the Buy Again Section name displayed on the user’s My Account page.
* By default, only products from “Completed” orders will be listed in the user’s “Buy Again” section. Site Admins can customize the order status as per their preference.
Buy Again Section – My Account Page
Buy Again Section – Products
Buy Again – Product Added to Cart
Buy Again – Product in Cart
Before installing the Buy Again Plugin on your site, please do the following,
1. Take a backup of your database
2. Enable maintenance mode
$ bin/magento maintenance:enable
Installing the extension
1. Navigate to the Magento project directory in your terminal and update your composer.json file
$ composer require Zinally/BuyAgain:1.0
2. Enter your authentication key. The authentication key can be obtained by logging into your Commerce Marketplace.
3. Wait for the composer to finish updating your project dependencies and make sure there aren’t any errors.
4. Verify the extension is installed properly using the following command,
$ bin/magento module:status Zinally_BuyAgain
By default, the extension is disabled by default.
5. Enable the extension and clear the static view files using the following command,
$ bin/magento module:enable Zinally_BuyAgain –clear-static-content
6. Register the extension using the following command,
$ bin/magento setup:upgrade
7. Recompile your Magento project using the following command,
$ bin/magento setup:di:compile
8. Verify the extension is enabled using the following command,
$ bin/magento module:status Zinally_BuyAgain
You should be able to see the following,
Module is enabled
9. Clean the cache using the following command
$ bin/magento cache:clean
Upgrading the Extension
1. Navigate to the Magento project directory in your terminal and update your composer.json file
$ composer update Zinally/BuyAgain
2. Run the following commands to upgrade, deploy and clean the cache.
$ bin/magento setup:upgrade –keep-generated
$ bin/magento setup:static-content:deploy
$ bin/magento cache:clean
Version 1.0
Initial Release
Created
Compatible with
Tags
25 May 2022
Open Source(CE) 2.3 and 2.4
buy again,repeat order,magento buy again