Skip to main content
Create a batch to get many unique discount codes in your Shopify store. New to batches? Read the overview first.

Create a batch

  1. Open Coupon Batches in the main menu and select Create Coupon Batch.
  2. Enter a Name for the batch, for example “Spring newsletter”.
  3. Choose where the codes come from, then fill in the settings for that choice (see below).
  4. Review the eligibility, combinations, and limits.
  5. Choose whether to be notified when processing finishes. Notify me when processing is done is on by default, and we email you.
  6. Select Create batch.
A Batch summary beside the form shows the name, the number of codes, the total code length, and sample codes for generated batches.

Choose where the codes come from

Atom Commerce creates unique codes from your settings.A longer random part and a larger character set allow more codes. A batch can use up to 95% of the possible combinations, so the number you can create is a little lower than the raw total. If you ask for more than the settings allow, the form shows the limit, and you can lengthen the codes or widen the character set.
Shopify limits a discount code to 255 bytes. The form checks the total length of the prefix, random part, and suffix, and shows an error if it is too long.

What happens after you save

A dialog confirms the batch settings are saved, then shows the batch as Preparing Codes with a percentage and a count (“400 of 1,000 added”). Atom Commerce is creating each code as a discount code in your Shopify store, so customers can use it at checkout.
  • Large batches can take several minutes.
  • You can close the dialog. Preparing continues, and you can follow it on the batch page and in the batch list. If you left notifications on, we email you when it is done.
  • When it finishes, the batch is Ready.
If Shopify is slow to respond, the batch keeps going and the page says so. If it cannot finish, the batch shows Error. See Troubleshooting.

After you create a batch