Bulk Generate Coupons using Smart Coupon for WooCommerce
Using Smart Coupon for WooCommerce, coupons can be generated in bulk using the Bulk Generate functionality. A specified number of coupons are generated as per the matching criteria from the Coupon data section. The generated coupons can be:
- added to the store,
- exported as a CSV or
- emailed to the recipients directly.
- Go to: WooCommerce > Coupon.
- Select Bulk Generate next to the Settings tab.
- From the Action section specify the following:
- No. of coupon need to be generated: The number of coupons to be generated can be specified in the provided text field. As many coupons as required will be generated in bulk as per the matching criteria.
- Generate Coupons and:
- Add to store: Adds the generated coupons to the store.
- Export as CSV: Exports the generated coupons into a CSV file for future use.
- Email recipient: Emails the respective coupons to the recipients. This works in combination with Allowed emails option available under usage restriction.

Bulk generate coupon for WooCommerce
Once the settings are in place, assign a prefix and suffix for the coupon, if required. The coupon_code is a unique randomized alphanumeric character of length 12 which will be generated automatically. Click on Generate Coupon button to issue coupons as per the pre-defined configurations.
Bulk generate with Allowed Emails option:
If email restriction is applied under allowed emails option, the application generates only enough number of coupons depending on whichever is the lowest value, either the coupon number or the number of emails.
For instance, consider the below scenario:
- Restrict to only two emails in the Allowed Email field of the User Restriction section as shown above:
- Enter 10 coupons to be generated in the Bulk Generation section:
Even though 10 coupons are given for generation only two coupons will be generated and assigned to those restricted users in the order listed. Alternatively, if you provide 2 coupons and 10 emails, only two coupons will be generated and assigned to the first two email ids.
Comments (4)
Scott
November 3, 2020
If I disable the email restriction, could I bulk generate 50 codes and email them to one recipient?
Does the email restriction work by checking the user email address or the buyers billing email address?
Mark
November 5, 2020
Email restriction field checks the billing email entered in the checkout page. Unfortunately, it is not possible to email 50 coupon codes to single user by the bulk generate option. To email the code, you will need to enter the email address in the email restriction fields and once you enter it, coupon will be generated according to the number of emails you entered in the field.
I hope we are clear. Let us know if there is anything else we can help with.
Dovy Ainsworth
July 13, 2020
When I bulk generate for CSV – where is that file? I dont see how to get the codes I created.
Thank you!
Mark
July 14, 2020
Once you click the Export as CSV, then you can save the file locally.