THA: Added Apple promotion
This commit is contained in:
parent
fe02e7b752
commit
342fd51d1c
208 changed files with 62116 additions and 13895 deletions
19296
xml/event/double_promotion_americano_and_apple_farm_festival.xml
Normal file
19296
xml/event/double_promotion_americano_and_apple_farm_festival.xml
Normal file
File diff suppressed because it is too large
Load diff
|
|
@ -0,0 +1,30 @@
|
|||
[
|
||||
{
|
||||
"name": "americano",
|
||||
"template": "/event/promotion_video_template.inc",
|
||||
"config": {
|
||||
"normal_eng": "ROOT/taobin_project/image/event/americano/americano_banner.png",
|
||||
"normal_thai": "ROOT/taobin_project/image/event/americano/americano_banner.png",
|
||||
"press_eng": "ROOT/taobin_project/image/event/americano/americano_banner.png",
|
||||
"press_thai": "ROOT/taobin_project/image/event/americano/americano_banner.png",
|
||||
"disable_eng": "ROOT/taobin_project/image/event/americano/americano_banner.png",
|
||||
"disable_thai": "ROOT/taobin_project/image/event/americano/americano_banner.png",
|
||||
"video_eng": "ROOT/taobin_project/image/event/americano/americano_banner.mp4",
|
||||
"video_thai": "ROOT/taobin_project/image/event/americano/americano_banner.mp4",
|
||||
"event_on_click": "ROOT/taobin_project/xml/page_catalog_group_pro_americano.xml"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "apple_farm_festival",
|
||||
"template": "/event/promotion_template.inc",
|
||||
"config": {
|
||||
"normal_eng": "ROOT/taobin_project/image/event/apple_farm_festival/apple_farm_festival_banner.png",
|
||||
"normal_thai": "ROOT/taobin_project/image/event/apple_farm_festival/apple_farm_festival_banner.png",
|
||||
"press_eng": "ROOT/taobin_project/image/event/apple_farm_festival/apple_farm_festival_banner.png",
|
||||
"press_thai": "ROOT/taobin_project/image/event/apple_farm_festival/apple_farm_festival_banner.png",
|
||||
"disable_eng": "ROOT/taobin_project/image/event/apple_farm_festival/apple_farm_festival_banner.png",
|
||||
"disable_thai": "ROOT/taobin_project/image/event/apple_farm_festival/apple_farm_festival_banner.png",
|
||||
"event_on_click": "ROOT/taobin_project/xml/page_catalog_group_pro_apple_farm_festival.xml"
|
||||
}
|
||||
}
|
||||
]
|
||||
File diff suppressed because it is too large
Load diff
|
|
@ -5,10 +5,10 @@ DEBUGVAR CocktailShow
|
|||
DEBUGVAR OpenFromPageBoard
|
||||
|
||||
DEBUGVAR SchoolOvaltinePro
|
||||
DEBUGVAR AppleFarmFestivalPro
|
||||
DEBUGVAR HappyTriosPro
|
||||
DEBUGVAR TaiwaneseTeaPro
|
||||
DEBUGVAR AmericanoPro
|
||||
DEBUGVAR AppleFarmFestivalPro
|
||||
DEBUGVAR Discount7_7Pro
|
||||
|
||||
Var PromotionState1 = "Invisible"
|
||||
|
|
@ -75,6 +75,15 @@ Else
|
|||
Var PromotionState2 = "Enable"
|
||||
Var FileRecommendToOpen = "ROOT/taobin_project/xml/event/double_promotion_americano_and_taiwanese_tea.xml"
|
||||
EndIf
|
||||
|
||||
If AppleFarmFestivalPro = 1 Then
|
||||
Var PromotionState2 = "Enable"
|
||||
Var FileRecommendToOpen = "ROOT/taobin_project/xml/event/double_promotion_americano_and_apple_farm_festival.xml"
|
||||
EndIf
|
||||
Else
|
||||
If AppleFarmFestivalPro = 1 Then
|
||||
Var FileRecommendToOpen = "ROOT/taobin_project/xml/event/promotion_apple_farm_festival.xml"
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
EndIf
|
||||
|
|
|
|||
|
|
@ -83,9 +83,6 @@ Var MatchaEveryDayPro = 0
|
|||
; Oreo volcano, 1 - 31 May
|
||||
Var OreoVolcanoPro = 0
|
||||
|
||||
; Apple Farm Festival, 1 - 30 June
|
||||
Var AppleFarmFestivalPro = 0
|
||||
|
||||
; Happy Trios, 1 - 30 June
|
||||
Var HappyTriosPro = 0
|
||||
|
||||
|
|
@ -101,6 +98,9 @@ Var AmericanoPro = 0
|
|||
;7.7 discount code, 7 - 13 July
|
||||
Var Discount7_7Pro = 0
|
||||
|
||||
; Apple Farm Festival, 15 - 31 July
|
||||
Var AppleFarmFestivalPro = 0
|
||||
|
||||
Var NewCollectPoint = 1
|
||||
Var PaymentCodeShouldCollectPromotionPoint = 0
|
||||
|
||||
|
|
@ -182,7 +182,6 @@ EndIf
|
|||
If SystemDateMonthInt = 7 Then
|
||||
|
||||
Var AmericanoPro = 1
|
||||
Var TaiwaneseTeaPro = 1
|
||||
|
||||
If SystemDateDayInt >= 7 Then
|
||||
If SystemDateDayInt <= 13 Then
|
||||
|
|
@ -190,6 +189,12 @@ If SystemDateMonthInt = 7 Then
|
|||
EndIf
|
||||
EndIf
|
||||
|
||||
If SystemDateDayInt >= 15 Then
|
||||
Var AppleFarmFestivalPro = 1
|
||||
Else
|
||||
Var TaiwaneseTeaPro = 1
|
||||
EndIf
|
||||
|
||||
EndIf
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue