Skip to main content
You can add a prefix to discount codes generated by Smile when customers redeem points for a reward. Prefixes are configured at the reward level and apply only to discount codes generated after the prefix is saved.
Feature availability: Custom prefixes are available on Shopify only.

Customize discount codes with prefixes

When creating or editing a reward in your loyalty program, you can set a prefix that appears at the beginning of each discount code generated for that reward. Smile automatically adds the prefix and appends a unique code value, ensuring each discount code remains unique.

Add a prefix to a discount code

To add a prefix to a discount code:
  1. From Smile Admin, go to Program > Points.
  2. In Ways to redeem, click Edit on the reward you want to update.
  3. In the Discount code card, click Add a prefix to discount codes.
  4. Enter the prefix you want to use.
  5. Click Save.
Note: Changes to discount code prefixes apply only to discount codes generated after the update. Discount codes that were already issued to customers aren’t changed.

Prefix guidelines

When setting a prefix:
  • Don’t use spaces.
  • Avoid special characters.
  • Keep prefixes short and easy to copy.
Using unsupported characters may cause issues when customers copy and paste discount codes at checkout.