** coming soon **
the keyword can exist in the category or promotion.
the promotion will come first.
Field | ||
Tag | PROMO | |
UNIQUE PROMO CODE | must be unique for the promotion and can't contain ":" or "]" | |
Total number of items in the promotion | X | |
Array of price name that involve in this promo | price name is separated by comma e.g. STANDARD, REGULAR | |
Array of formula to calculate the selling price | Formula TAG, Value | |
Formula TAG | ||
PRICENAME | Array of price name First come first used | |
FIXED_PRICE | Selling Price is fixed at this price | |
FIXED_DIS | Fixed Discount Amount Selling Price - FIXED_DIS | |
PER_DIS | Percentage Discount Selling Price * (100 - PER_DIS) / 100 |
Example:
Top Up Price - Example Upsize
Buy 2 and Get 50% for 1 Item
- cheapest one will get discount
[PROMO:Dis 50% for 2rd Item:2:STANDARD,REGULAR:PER_DIS,50:PER_DIS,0]
Buy 2 Item and get following discount
First Item - 50%
Second Item - 20%
[PROMO:1st 50% & 2rd 20%:2:STANDARD,REGULAR:PER_DIS,50:PER_DIS,20]
Buy 3 Item and get $1 OFF
[PROMO:Buy 3 GET $1OFF:3:REGULAR,REGULAR,REGULAR:FIXED_DIS,1:FIXED_DIS,0:FIXED_DIS:0]