> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://kite.skailama.app/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# Generating unique codes for a single discount campaign (Bulk Discounts)

To generate multiple unique codes for the same discount promotion, follow these steps:

1. **Verify the Discount Type:** Ensure the promotion you are building is a **Code-level discount** (requires manual entry by the customer at checkout). *Note: Automatic discounts are not eligible for bulk code generation.*
2. **Access the Generator:** * From an active offer setup: Click the option to generate discount codes.
    * From the **Create Promotion** page: Scroll down and click **Generate Codes**.
3. **Select Your Discount:** Search for and select the active code discount you created in Kite. A summary of the selected promotion will appear.
4. **Choose a Generation Method:** * **Randomly Generate:** Let Kite create a bulk batch of randomized codes.
    * **Upload List:** Import your own pre-defined list of custom codes.
    * **Manual Entry:** Type specific codes manually.
5. **Customize Random Codes:** If you selected "Randomly Generate," input the desired volume (e.g., 1,000 codes). You can customize the format by adding a **Prefix** or **Suffix**, adjusting the character length, and choosing the randomness type (Alphanumeric, Alphabetic, or Numeric). Use the real-time preview to verify the format.
6. **Generate & Export:** (Optional) Enter your email address to receive a notification once processing is complete. Click **Generate**. Once the codes finish processing, select them from the list and hit **Export** to download them for your marketing campaigns.

### Technical Notes & Limitations:

* **Automatic vs. Discount Codes:** Bulk generation strictly relies on Shopify's discount code architecture. Automatic offers (like Dynamic BOGO or Auto Free Gifts) cannot be converted into bulk codes.
* **Discount Stacking (Product vs. Order vs. Shipping):** Even though you are generating unique codes, they all inherit the rules of the *base* promotion. If the base promotion is a combined discount (e.g., 10% off Product + Free Shipping), ensure your Shopify discount stacking settings allow this code to be combined with other active offers on your store, if desired.
* **Accelerated Checkout Warning:** Remember that express payment methods (like "Buy Now" or Apple Pay) bypass the cart. If your base discount relies on cart-level validation, customers using accelerated checkouts might face issues applying their unique codes.

### Troubleshooting & Checklist:

* **Cannot find the discount in the search bar?** Double-check that your promotion was saved as a "Discount Code" and not an "Automatic Discount."
* **Did not receive the generated codes?** If you generated a massive list (e.g., 10,000+ codes), processing may take a few moments. Check the notification email you provided (including your spam folder) or refresh the Kite dashboard.
* **Customer claims the code doesn't work?** Verify that the underlying base promotion is currently **Active** (not paused or expired) and that the customer's cart meets all the required tiers or conditions of the discount.

${youtube}[Generating unique codes for a single discount campaign (Bulk Discounts)](OaffiIROel0)
