> ## Documentation Index
> Fetch the complete documentation index at: https://neezon.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Bulk discount codes for Shopify

> Generate or paste many unique Shopify discount codes that share one Smarty discount, for influencers, mailings or one code per customer, then export them.

**All method options:** [Discount method](https://neezon.com/docs/smarty-discounts/features.md#discount-method).

## Quick facts

> [!NOTE]
>
> * **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](https://neezon.com/docs/smarty-discounts/plans.md)).

## 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

| Mode | Use when |
| - | - |
| **Generate automatically** | Smarty should create random codes for you. |
| **Enter manually** | You already have a list (spreadsheet, partner, etc.). |

## 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.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.