Coupon Import for Magento 2
Bulk import of custom coupon codes for Magento 2 cart price rules.
- v100.0.11
- Magento 2.1 – 2.4
- PHP 5.5 – 8.x
- MIT License
- Released Oct 2026
Features
- Bulk import custom coupon codes for cart price rules
- Multiple custom coupons per cart price rule
- Paste a coupon list in the admin
- Upload thousands of codes at once from a text file
- Personalized codes for campaigns and promotions
Overview
The Coupon Import extension offers a quick way of bulk importing custom coupon codes for cart price rules in Magento 2.
Using the plugin you can import your personalized discount coupons for marketing campaigns and promotions.
Custom coupon codes for Magento 2#
If you need to upload only a limited amount of discount codes to your Magento 2 webshop, you can simply enter or paste your custom coupon list in the Manage Coupon Codes tab of a shopping cart price rule.
Because the Coupon Import extension is AJAX based, your coupons will be instantly added to the Admin Panel after clicking the import button, without having to refresh the page.
Bulk coupon import functionality#
Do you need to import an extensive list of custom coupons for a specific promotion or marketing campaign?
With the Magento 2 Coupon Import extension you can quickly bulk upload 1000s of coupon codes at once by importing a text file with your shopping cart discount codes in list format.
Documentation
5 pages from the user manual.
Changelog
Release history11 releases, Oct 2016 – Oct 2026
Since 2026Open source
- 100.0.11
- PHP 8.1–8.3 compatibility: empty lines in an imported coupon file and an empty pasted coupon list are no longer passed as
nulltotrim()/explode()(deprecated since PHP 8.1, which made the import fail). composer.jsonnow allows PHP 8.0 – 8.3.- Security fix: the import endpoints now require an admin login and the Cart Price Rules permission. Earlier versions let unauthenticated requests reach them.
- Verified by static analysis (PHPCompatibility, php -l on PHP 7.4, 8.1 and 8.3); not run on a live store.
- PHP 8.1–8.3 compatibility: empty lines in an imported coupon file and an empty pasted coupon list are no longer passed as
- 100.0.10
Added more descriptive error message when user tries to import coupons before saving the cart price rule.
- 100.0.9
Fix for coupon import tab not showing when auto generation already selected in Magento 2.1.x
- 100.0.8
- Verified compatibility with Magento 2.4.x and PHP 7.4
- Increased coupon import textarea height in admin area
- 100.0.7
- Verified compatibility with Magento ECE / EE 2.3.5
- Updated PHP version compatibility in composer.json
Show 6 older releases
- 100.0.6
- Fixed compatibility with Magento 2.3 new 'Auto' coupon type
- Fixed importing issue in Magento 2.3.x EE / Cloud
- Fixed import coupon section styling for Magento EE / Cloud
- 100.0.5
License manager upgrade
- 100.0.4
Magento 2.0 license manager compatibility fix
- 100.0.3
- Magento 2.2 support
- Error handling improvement
- 100.0.2
- Small bug fixes
- Modified composer file
- 100.0.0
First release of Magento 2 Coupon Import extension by Plugin Company.

