Simple system-generated unique promotion codes
Simple system-generated unique promotion codes are created by specifying a simple set of inputs. The following inputs are required to generate simple system-generated unique promotion codes:
- Prefix
- Fixed characters located at the beginning of each promotion code.
- Unique system-generated code length
- The number of system-generated characters that are in each promotion code. These characters consist of uppercase alphanumeric characters.
- Suffix
- Fixed characters located at the end of each promotion code.
- Number of unique promotion codes to generate
- The total number of generated promotion codes to create, based on your business needs.
- Code generation status
- The status of the system generation of the unique promotion codes for the promotion. When you activate the promotion, the promotion codes are generated.
Note: Your promotion codes can fail to generate in the following situations:
- The promotion codes are already populated in the store database.
- There is insufficient space available on your system for generating the number of codes specified.
If your promotion codes fail to generate and are not already populated in the store database, contact your system administrator.
The maximum number of possible unique promotion codes to generate is calculated and displayed for reference, based on the unique system-generated code length input.
Each unique promotion code is stored in its own database table row. If the number of unique promotion codes to generate or populate is large, for instance over 100,000 codes, the database must be optimized to handle the processing of this data. Your database must have the required database space allocated to store the generated codes.
Sample output
Simple system-generated unique promotion codes resemble the following form when generated:Prefix + Generated code + SuffixWhere, for example, the unique promotion codes sample results:
Sample simple system-generated unique promotion codes
Prefix Unique
system-generated
code lengthSuffix Sample unique promotion codes IBM 3 EVENT IBM65BEVENT
IBMJK7EVENT
IBMXWTEVENTSUMMER- 5 -SPECIAL SUMMER-ABC12-SPECIAL
SUMMER-B88BL-SPECIAL
SUMMER-LMMKJ-SPECIALWINTER2010 2 -SALE WINTER201055-SALE
WINTER2010H9-SALE
WINTER2010MC-SALE
Related concepts
Promotions
Related tasks
Importing promotion codes
Exporting promotion codes
Related reference
Advanced system-generated unique promotion codes