THAI: Added Mom cocoa promotion
This commit is contained in:
parent
67fe9746fb
commit
a78d8f7bef
52 changed files with 43460 additions and 5375 deletions
|
|
@ -1 +1 @@
|
|||
/event/promotion_passion_mint.xml
|
||||
/event/promotion_mom_cocoa.xml
|
||||
12918
xml/event/promotion_mom_cocoa.xml
Normal file
12918
xml/event/promotion_mom_cocoa.xml
Normal file
File diff suppressed because it is too large
Load diff
12938
xml/event/promotion_mom_cocoa_ignore.xml
Normal file
12938
xml/event/promotion_mom_cocoa_ignore.xml
Normal file
File diff suppressed because it is too large
Load diff
|
|
@ -1,3 +1,15 @@
|
|||
<EventActionOk>
|
||||
If GettingDiscountStatus = 1 Then
|
||||
|
||||
If Ext1a = "ok" Then
|
||||
|
||||
Else
|
||||
|
||||
EndIf
|
||||
|
||||
Open "ROOT/taobin_project/xml/page_catalog_group_pro_mom_cocoa_ignore.xml"
|
||||
EndIf
|
||||
</EventActionOk>
|
||||
|
||||
<Button>
|
||||
<X> 42 </X>
|
||||
|
|
@ -7,73 +19,67 @@
|
|||
<Filename>
|
||||
eval(
|
||||
If show_eng = "true" Then
|
||||
Var return = ###normal_eng
|
||||
If SystemDateDayInt >= 13 Then
|
||||
Var return = ###normal_eng + "13-16.png"
|
||||
Else
|
||||
Var return = ###normal_eng + "10-12.png"
|
||||
EndIf
|
||||
Else
|
||||
Var return = ###normal_thai
|
||||
If SystemDateDayInt >= 13 Then
|
||||
Var return = ###normal_thai + "13-16.png"
|
||||
Else
|
||||
Var return = ###normal_thai + "10-12.png"
|
||||
EndIf
|
||||
EndIf
|
||||
)
|
||||
</Filename>
|
||||
<FilenamePress>
|
||||
eval(
|
||||
If show_eng = "true" Then
|
||||
Var return = ###normal_eng
|
||||
If SystemDateDayInt >= 13 Then
|
||||
Var return = ###normal_eng + "13-16.png"
|
||||
Else
|
||||
Var return = ###normal_eng + "10-12.png"
|
||||
EndIf
|
||||
Else
|
||||
Var return = ###normal_thai
|
||||
If SystemDateDayInt >= 13 Then
|
||||
Var return = ###normal_thai + "13-16.png"
|
||||
Else
|
||||
Var return = ###normal_thai + "10-12.png"
|
||||
EndIf
|
||||
EndIf
|
||||
)
|
||||
</FilenamePress>
|
||||
<FilenameDisable>
|
||||
eval(
|
||||
If show_eng = "true" Then
|
||||
Var return = ###normal_eng
|
||||
If SystemDateDayInt >= 13 Then
|
||||
Var return = ###normal_eng + "13-16.png"
|
||||
Else
|
||||
Var return = ###normal_eng + "10-12.png"
|
||||
EndIf
|
||||
Else
|
||||
Var return = ###normal_thai
|
||||
If SystemDateDayInt >= 13 Then
|
||||
Var return = ###normal_thai + "13-16.png"
|
||||
Else
|
||||
Var return = ###normal_thai + "10-12.png"
|
||||
EndIf
|
||||
EndIf
|
||||
)
|
||||
</FilenameDisable>
|
||||
<EventOnClick>
|
||||
If MomCocoaProDiscountEnable = 1 Then
|
||||
If GettingDiscountStatus = 0 Then
|
||||
Var GettingDiscountStatus = 1
|
||||
Var AC = "1/0899999999"
|
||||
GETACCEXT AC 38
|
||||
EndIf
|
||||
Else
|
||||
Open "ROOT/taobin_project/xml/page_catalog_group_pro_mom_cocoa_ignore.xml"
|
||||
EndIf
|
||||
|
||||
Open "ROOT/taobin_project/xml/page_catalog_group_pro_passion_mint.xml"
|
||||
|
||||
</EventOnClick>
|
||||
|
||||
|
||||
<Video>
|
||||
<X> 42 </X>
|
||||
<Y> 518 </Y>
|
||||
<Width> 484 </Width>
|
||||
<Height> 616 </Height>
|
||||
<Loop> "true" </Loop>
|
||||
<State>
|
||||
eval(
|
||||
If show_eng = "true" Then
|
||||
Var return = "Invisible"
|
||||
Else
|
||||
Var return = "Enable"
|
||||
EndIf
|
||||
)
|
||||
</State>
|
||||
<Filename> "ROOT/taobin_project/image/event/passion_mint/passion_mint_th.mp4" </Filename>
|
||||
</Video>
|
||||
|
||||
<Video>
|
||||
<X> 42 </X>
|
||||
<Y> 518 </Y>
|
||||
<Width> 484 </Width>
|
||||
<Height> 616 </Height>
|
||||
<State>
|
||||
eval(
|
||||
If show_eng = "true" Then
|
||||
Var return = "Enable"
|
||||
Else
|
||||
Var return = "Invisible"
|
||||
EndIf
|
||||
)
|
||||
</State>
|
||||
<Loop> "true" </Loop>
|
||||
<Filename> "ROOT/taobin_project/image/event/passion_mint/passion_mint_en.mp4" </Filename>
|
||||
</Video>
|
||||
|
||||
</Button>
|
||||
|
||||
<EventUnitTest1>
|
||||
|
|
|
|||
|
|
@ -4,8 +4,8 @@ DEBUGVAR PayOfflineMode
|
|||
DEBUGVAR CocktailShow
|
||||
DEBUGVAR OpenFromPageBoard
|
||||
|
||||
DEBUGVAR PassionMintPro
|
||||
DEBUGVAR 7UpLuckyDrawX2Pro
|
||||
DEBUGVAR MomCocoaPro
|
||||
|
||||
Var PromotionState1 = "Invisible"
|
||||
Var PromotionState2 = "Invisible"
|
||||
|
|
@ -26,8 +26,8 @@ Else
|
|||
Var FileRecommendToOpen = "ROOT/taobin_project/xml/page_catalog_group_recommend.xml"
|
||||
; zone promote
|
||||
|
||||
If PassionMintPro = 1 Then
|
||||
Var FileRecommendToOpen = "ROOT/taobin_project/xml/event/promotion_passion_mint.xml"
|
||||
If MomCocoaPro = 1 Then
|
||||
Var FileRecommendToOpen = "ROOT/taobin_project/xml/event/promotion_mom_cocoa_ignore.xml"
|
||||
Else
|
||||
If 7UpLuckyDrawX2Pro = 1 Then
|
||||
Var FileRecommendToOpen = "ROOT/taobin_project/xml/event/promotion_7up_lucky_draw_x2.xml"
|
||||
|
|
|
|||
|
|
@ -116,9 +116,15 @@ Var FromCocoa77Pro = 0
|
|||
Var PassionMintPro = 0
|
||||
Var FromPassionMintPro = 0
|
||||
|
||||
; Enable 7UpLuckyDrawX2 promotion, 22 Jul - 9 Aus
|
||||
; Enable 7UpLuckyDrawX2 promotion, 22 Jul - 9 Aug
|
||||
Var 7UpLuckyDrawX2Pro = 0
|
||||
|
||||
; Enable Mom Cocoa promotion, 10 Aug - 16 Aug
|
||||
Var MomCocoaPro = 0
|
||||
Var MomCocoaProDiscountEnable = 0
|
||||
Var FromMomCocoaPro = 0
|
||||
Var Seeker.BuyMomCocoaProFlag = 0
|
||||
|
||||
Var NewCollectPoint = 1
|
||||
Var ShouldCollectPromotionPoint = 0
|
||||
|
||||
|
|
@ -231,6 +237,18 @@ If SystemDateMonthInt = 8 Then
|
|||
If SystemDateDayInt <= 9 Then
|
||||
Var 7UpLuckyDrawX2Pro = 1
|
||||
EndIf
|
||||
|
||||
If SystemDateDayInt >= 10 Then
|
||||
If SystemDateDayInt <= 16 Then
|
||||
|
||||
Var MomCocoaPro = 1
|
||||
|
||||
If SystemDateDayInt >= 12 Then
|
||||
Var MomCocoaProDiscountEnable = 1
|
||||
EndIf
|
||||
|
||||
EndIf
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
|
||||
|
|
@ -254,8 +272,10 @@ If BoxID = 105005 Then
|
|||
Var New_Payment = 1
|
||||
Var NamHomCoconutPro = 0
|
||||
Var Cocoa77Pro = 0
|
||||
Var 7UpLuckyDrawX2Pro = 1
|
||||
Var 7UpLuckyDrawX2Pro = 0
|
||||
Var PassionMintPro = 0
|
||||
Var MomCocoaPro = 1
|
||||
Var MomCocoaProDiscountEnable = 1
|
||||
EndIf
|
||||
|
||||
|
||||
|
|
@ -388,6 +408,7 @@ If CocoaPowderEnable = "true" Then
|
|||
|
||||
Else
|
||||
Var Cocoa77Pro = 0
|
||||
Var MomCocoaPro = 0
|
||||
EndIf
|
||||
|
||||
If 7UpSyrupEnable = "true" Then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue