Skip to main content

Why Your Discount Code Isn’t Always Applying

Updated over a week ago

If your discount isn’t applying consistently, the issue may be with the format of your discount code — specifically if it includes spaces or special characters (like %).

What’s happening

Some discount codes that include:

  • spaces (e.g., SUMMER SALE)

  • special characters (e.g., %, #, &)

can behave unpredictably when used with ADU.

This means the discount might:

  • apply sometimes

  • fail other times

  • appear inconsistent across customers or sessions

Why this happens

ADU relies on matching discount codes exactly as they’re passed through the storefront.

Special characters and spaces can:

  • be interpreted differently by browsers or scripts

  • break formatting when passed between systems

  • cause mismatches during validation

Recommended fix

To avoid this issue, we recommend using simple, clean discount codes:

✅ Use:

  • letters and numbers only

  • no spaces

  • no special characters

Examples:

  • SUMMER10

  • WELCOME20

  • SALE2026

❌ Avoid:

  • SUMMER SALE

  • SAVE 10%

  • DEAL#1

What you should do

  1. Go to your Shopify Admin

  2. Edit your existing discount code

  3. Replace it with a simplified version (no spaces or symbols)

  4. Test the discount on your storefront

Need help?

If you’ve updated your discount code and the issue still happens, reach out to our support team with:

  • your discount code

  • a sample product

  • a screen recording (if possible)

We’ll take a closer look and help you get it working smoothly.

Did this answer your question?