Skip to content

Latest commit

 

History

History
33 lines (20 loc) · 1.63 KB

price-rules-cart-coupon-code-configure.md

File metadata and controls

33 lines (20 loc) · 1.63 KB
title redirect_to
Configuring Coupon Codes

The length and format of automatically generated coupon codes is controlled by the configuration. The characters can be set to all numbers, all letters, or a combination. You can insert a dash at set intervals to make it easy to read, and add a .prefix and suffix to associate the code with a specific campaign or initiative.

![Customers configuration - auto-generated specific coupon codes]({% link configuration/customers/assets/promotions-auto-generated-specific-coupon-codes.png %}){: .zoom} Auto Generated Specific Coupon Codes

Format Coupon Codes

  1. On the Admin sidebar, go to Stores > Settings > Configuration.

  2. In the left panel, expand Customers and choose Promotions.

  3. In the Auto Generated Specific Coupon Codes section, do the following:

    • Enter the Code Length, including prefix, sufix, and separators.

    • Set the Code Format to one of the following:

      • Alphanumeric
      • Alphabetical
      • Numeric
    • To add a Code Prefix, enter the value that you want to appear at the beginning of all coupon codes.

    • To add a Code Suffix, enter the value that you want to appear at the end of all coupon codes.

    • To insert a Dash Every X Characters, enter the number of characters between each dash. Coupon codes with different dash patterns are considered to be different codes, even if the numbers are the same.

  4. When complete, click Save Config.