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

> Bulk codes are many different codes that share the same discount rules—useful for influencers, mailings, or one code per customer. Set Bulk codes as the discount method when you create or edit a discount (not Automatic or a single code). Generate or paste a list, export, and view codes in Shopify.

**All method options:** [Discount method](features#discount-method).

## Quick facts

<Info>
  * **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.
</Info>

## Open bulk codes on a discount

<Steps>
  <Step title="Smarty">
    **Apps** → **Smarty Discounts**.
  </Step>

  <Step title="Create or open">
    **Create discount** → pick **type** → choose **Bulk codes**, **or** open an existing discount and switch the method to **Bulk codes** where allowed.
  </Step>

  <Step title="Save">
    **Save** so Shopify has a discount record and Smarty can attach codes.
  </Step>
</Steps>

You must use the **Bulk codes** method to see the generator (not Automatic or a single **Discount code**).

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

<Steps>
  <Step title="Count">
    **Number of codes**
  </Step>

  <Step title="Length">
    **Code length**
  </Step>

  <Step title="Prefix / suffix">
    **Prefix** / **Suffix** (optional)
  </Step>

  <Step title="Characters">
    **Allowed characters** — letters and numbers, letters only, or numbers only
  </Step>

  <Step title="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.
  </Step>
</Steps>

## Manual list

<Steps>
  <Step title="Switch mode">
    **Enter manually**.
  </Step>

  <Step title="Paste">
    Paste **one code per line**.
  </Step>

  <Step title="Start">
    Start generation the same way as automatic.
  </Step>
</Steps>

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

<Steps>
  <Step title="View">
    **View all codes** / **View codes** → opens codes in **Shopify Admin** for that discount.
  </Step>

  <Step title="Export">
    **Export** / **Download** when you need a file for email tools or a CRM.
  </Step>
</Steps>

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