Skip to main content
All method options: Discount method.

Quick facts

  • Generate automatically — count, length, optional prefix/suffix, letters and/or numbers.
  • Enter manually — paste one code per line.
  • Large batches may run in the background; wait until the app shows finished before you rely on export.
  • View all codes in Shopify Admin or export for a spreadsheet or CRM.

Quick answers

How do I create bulk discount codes on Shopify?

Create or open a discount, set Discount method to Bulk codes, and save. Then choose Generate automatically (number of codes, length, optional prefix or suffix, allowed characters) or Enter manually to paste one code per line.

Can I export bulk discount codes?

Yes. View all codes opens them in Shopify Admin, and Export gives you a file for email tools or a CRM; for large batches, wait until the app shows the job as finished.

How many bulk code generations does the Free plan include?

Free includes 1 bulk code generation, and Pro includes unlimited bulk codes (Plans).

Open bulk codes on a discount

1

Smarty

Apps → Smarty Discounts.
2

Create or open

Create discount → pick type → choose Bulk codes, or open an existing discount and switch the method to Bulk codes where allowed.
3

Save

Save so Shopify has a discount record and Smarty can attach codes.
You must use the Bulk codes method to see the generator (not Automatic or a single Discount code). You can update an existing bulk-code discount and its codes; you do not need to recreate it.

Generation mode

Automatic generation

1

Count

Number of codes
2

Length

Code length
3

Prefix / suffix

Prefix / Suffix (optional)
4

Characters

Allowed characters — letters and numbers, letters only, or numbers only
5

Run

Run Generate Codes (or the primary action with the same meaning). If the app warns that leaving the page can stop a running job, stay until it finishes.

Manual list

1

Switch mode

Enter manually.
2

Paste

Paste one code per line.
3

Start

Start generation the same way as automatic.
Invalid or duplicate lines may be skipped; the app may show how many could not be added.

Progress and history

Recent code generation (or similar) shows Status, Progress, Started. Cancel, Retry, or Resume when offered. When complete, codes should show as ready, with a link to view them.

View in Shopify and export

1

View

View all codes / View codes → opens codes in Shopify Admin for that discount.
2

Export

Export / Download when you need a file for email tools or a CRM.

Add more codes later

For the same discount, use Set up new codes / Generate more codes when shown — subject to your plan and any limits in the app.