Home > Docs > Smart Coupons for WooCommerce > Bulk Generate Coupons Using Smart Coupon for WooCommerce

Bulk Generate Coupons Using Smart Coupon for WooCommerce

Last updated on September 11, 2024

Users can use the Smart Coupon for WooCommerce plugin to generate coupons in bulk using the Bulk Generate functionality. A specific 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
  • Emailed to the recipients directly

Settings

  1. First of all, install and activate the plugin, a new menu Smart coupon will appear in your WordPress dashboard.
  2. Head on to Smart Coupons > Bulk Generate.
  3. From the Action section, specify the following:
    • No. of coupon need to be generated: Number of coupons to generate. As many coupons as required will be generated in bulk per the matching criteria.
    • Generate Coupons and:
      • Add to store: Add 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.
Smart Coupons for WooCommerce - Bulk generate coupons
Smart Coupons for WooCommerce – Bulk generate coupons

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 that will be generated automatically. Click on the Generate Coupon button to issue coupons according to the pre-defined configurations.

Bulk generate with allowed emails option:

If email restriction is applied under the allowed emails option, the application generates only enough coupons depending on whichever is the lowest value, either the coupon number or the number of emails.

Smart Coupons for WooCommerce - Bulk generate coupons
Smart Coupons for WooCommerce – Bulk generate coupons

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 ten coupons to be generated in the Bulk Generation section:
Smart Coupons for WooCommerce - Bulk generate coupons
Smart Coupons for WooCommerce – Bulk generate coupons

Even though ten 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 two coupons and ten emails, only two coupons will be generated and assigned to the first two email IDs.