
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 that are 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 that are 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. The promotion codes are generated when the promotion
is activated.Note: Your promotion codes can fail to generate in the following situations:
- The promotion codes are already populated in your store database.
- There is insufficient space available on your system for generating the number of codes specified.
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, your 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 + Suffix
Where, for example, the unique promotion codes sample
results are:Prefix | Unique system-generated code length | Suffix | Sample unique promotion codes |
---|---|---|---|
IBM | 3 | EVENT | IBM65BEVENTIBMJK7EVENTIBMXWTEVENT |
SUMMER- | 5 | -SPECIAL | SUMMER-ABC12-SPECIALSUMMER-B88BL-SPECIALSUMMER-LMMKJ-SPECIAL |
WINTER2010 | 2 | -SALE | WINTER201055-SALEWINTER2010H9-SALEWINTER2010MC-SALE |