MYS: add promotion reduce price with profile
This commit is contained in:
parent
3b5b8526a1
commit
8d804f76a8
4 changed files with 74 additions and 4 deletions
|
|
@ -24,6 +24,15 @@ Var FromProYuzu = 0
|
|||
; Pro free oreo topping
|
||||
Var PromotionOreoToppingFreeEnable = 0
|
||||
|
||||
; Pro reduce price
|
||||
Var SetProReduceByBO = 0
|
||||
Var ProReducedPriceEnable = 0
|
||||
|
||||
If XMLProfile = "PromoReduced" Then
|
||||
Var SetProReduceByBO = 1
|
||||
EndIf
|
||||
|
||||
DEBUGVAR SetProReduceByBO
|
||||
|
||||
; Pay later mode
|
||||
Var EnablePayLaterMode = 0
|
||||
|
|
@ -65,21 +74,46 @@ EndIf
|
|||
If SystemDateMonthInt = 9 Then
|
||||
If SystemDateDayInt < 17 Then
|
||||
Var PromotionOreoToppingFreeEnable = 1
|
||||
If SetProReduceByBO = 1 Then
|
||||
Var ProReducedPriceEnable = 1
|
||||
EndIf
|
||||
Else
|
||||
Var PromotionOreoToppingFreeEnable = 0
|
||||
If SystemDateDayInt >= 16 Then
|
||||
If SetProReduceByBO = 1 Then
|
||||
Var ProReducedPriceEnable = 1
|
||||
EndIf
|
||||
Else
|
||||
Var ProReducedPriceEnable = 0
|
||||
EndIf
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
If SystemDateMonthInt = 10 Then
|
||||
If SetProReduceByBO = 1 Then
|
||||
Var ProReducedPriceEnable = 1
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
If SystemDateMonthInt = 11 Then
|
||||
If SetProReduceByBO = 1 Then
|
||||
Var ProReducedPriceEnable = 1
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
|
||||
|
||||
|
||||
If BoxID = 177746 Then
|
||||
Var ProThaiTeaEnable = 1
|
||||
Var ProYuzuEnable = 1
|
||||
Var PromotionOreoToppingFreeEnable = 1
|
||||
Var PromotionOreoToppingFreeEnable = 0
|
||||
|
||||
Var EnablePayLaterMode = 1
|
||||
|
||||
;Var AdvertiseProfile = "00/00/00/00/00/00/00/00/00/00/00/00/00/00/00/00/00/00/00/00/00/00"
|
||||
|
||||
Var UseSlideShowVideo = 1
|
||||
Var UseSlideShowVideo = 0
|
||||
EndIf
|
||||
|
||||
If BoxID = 210037 Then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue