50 likes | 57 Views
Discounts and coupons help in generating your storeu2019s revenue and can increase customer retention too. However, managing the coupon codes ainu2019t easy in Magento 2 store.<br><br>Hence, Meetanshi has developed the Magento 2 Import Coupon Codes extension for easily generating and managing the coupon code in your Magento 2 Store. <br><br>With the help of this extension, it becomes easy for the admin to generate multiple coupon codes within a click or two via CSV file for existing cart price rules.<br>For more information,<br> Visit https://meetanshi.com/magento-2-import-coupon-codes.html<br><br>
E N D
Import Coupon Codesfor Magento 2 User Guide Table of Content 1.Extension Installation 2.Configuration 3.Import Coupon Codes from Backend 4.Custom Coupon Codes Applied in Frontend Import Coupon Codes for Magento 2 © Meetanshi
1.Extension Installation •For Magento Marketplace Customers oCreate a folder structure in Magento root as app/code/Meetanshi/CartRulesCsv oDownload and extract the zip folder and upload our extension files to the app/code/Meetanshi/CartRulesCsv via FTP. oLogin to your SSH and run below commands step by step: ▪php bin/magento setup:upgrade ▪For Magento version 2.0.x to 2.1.x - php bin/magento setup:static-content:deploy ▪For Magento version 2.2.x & above - php bin/magento setup:static-content:deploy –f ▪php bin/magento cache:flush •For Meetanshi Customers oExtract the zip folder and upload our extension to the root of your Magento 2 directory via FTP. oLogin to your SSH and run below commands step by step: ▪php bin/magento setup:upgrade ▪For Magento version 2.0.x to 2.1.x - php bin/magento setup:static-content:deploy ▪For Magento version 2.2.x & above - php bin/magento setup:static-content:deploy –f ▪php bin/magento cache:flush 2.Configuration To configure the extension, login to Magento 2, move to Marketing → you can find a ‘Cart Price Rules’ grid. Make sure you have created at least one cart price rule to import coupon codes under the created cart price rule. Select and edit a cart price rule to enable the tab to import coupon codes through CSV. → Cart Price Rules where Import Coupon Codes for Magento 2 © Meetanshi
3.Import Coupon codes from Backend On cart price rule edit page, expand an “Import Coupon Codes” tab. You can import coupon codes through CSV file from this tab. •Click on “Download Sample CSV” to download the sample CSV file with coupon codes. It has coupon codes, usage limit and usage per customer values. Your own coupon codes CSV must have the same format as in the sample CSV file. •Now, click on the “Choose File” button to upload the coupon codes CSV file having your custom coupon codes. •Once the CSV file is uploaded, click on ‘UploadFile’ to import coupon codes from the uploaded CSV. Import Coupon Codes for Magento 2 © Meetanshi
•Imported Coupon Code Listed under Manage Coupon Codes After the CSV import is completed, all the coupon codes enlisted under the ‘Manage Coupon Codes’ tab. The admin can use these coupon codes to place order from the backend or send to the customers directly to use them in the frontend. Import Coupon Codes for Magento 2 © Meetanshi
4.Custom Coupon Codes Applied in Frontend Once coupon codes are imported and saved in the backend, both the admin and customers can use them by applying them directly on cart page. For example, the admin wants to offer 10% off on the 1st purchase of his new newsletter subscribers, he can send the custom coupon codes directly to them through Email or some other channel. The subscribers can use the received coupon code after adding the products to the cart and apply the code under the “Apply Discount Code” box. Success message is shown if the entered coupon code is valid and meets the defined condition. Import Coupon Codes for Magento 2 © Meetanshi