** coming soon **

the keyword can exist in the category or promotion.

the promotion will come first.


Field

TagPROMO
UNIQUE PROMO CODEmust be unique for the promotion and can't contain ":" or "]"
Total number of items in the promotionX
Array of price name that involve in this promoprice name is separated by comma
e.g. STANDARD, REGULAR

Array of formula to calculate the selling priceFormula TAG, Value



Formula TAG

PRICENAMEArray of price name
First come first used

FIXED_PRICESelling Price is fixed at this price
FIXED_DISFixed Discount Amount

Selling Price - FIXED_DIS

PER_DISPercentage 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:STANDARD,REGULAR:FIXED_DIS,1:FIXED_DIS,0:FIXED_DIS:0]