MYS: update pro and price
BIN
inter/mys/adv/taobin_adv_menu_25.mp4
Normal file
|
Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 14 KiB |
|
Before Width: | Height: | Size: 11 KiB After Width: | Height: | Size: 11 KiB |
|
Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 14 KiB |
|
Before Width: | Height: | Size: 17 KiB After Width: | Height: | Size: 16 KiB |
|
Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 14 KiB |
|
Before Width: | Height: | Size: 16 KiB After Width: | Height: | Size: 15 KiB |
|
Before Width: | Height: | Size: 18 KiB After Width: | Height: | Size: 17 KiB |
|
Before Width: | Height: | Size: 26 KiB After Width: | Height: | Size: 26 KiB |
|
Before Width: | Height: | Size: 29 KiB After Width: | Height: | Size: 28 KiB |
|
Before Width: | Height: | Size: 33 KiB After Width: | Height: | Size: 31 KiB |
|
Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 14 KiB |
|
Before Width: | Height: | Size: 16 KiB After Width: | Height: | Size: 15 KiB |
|
Before Width: | Height: | Size: 18 KiB After Width: | Height: | Size: 17 KiB |
|
|
@ -33,11 +33,6 @@ Else
|
|||
Var XMLProfile = XMLProfilePreEvent + "-"
|
||||
Var XMLProfile = XMLProfile + "PromoYuzu250"
|
||||
|
||||
; case-local-profile
|
||||
If XMLProfile = "Discount50-PromoYuzu250" Then
|
||||
DEBUGVAR "Restore Discount50 profile, also concat Yuzu"
|
||||
Var XMLProfile = "NoDis50ForProYuzu25"
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
Else
|
||||
|
|
@ -47,11 +42,6 @@ Else
|
|||
Var XMLProfile = XMLProfile + "-"
|
||||
Var XMLProfile = XMLProfile + "PromoYuzu250"
|
||||
|
||||
; case-local-profile
|
||||
If XMLProfile = "Discount50-PromoYuzu250" Then
|
||||
DEBUGVAR "No pro reduce but Discount50, concat pro yuzu"
|
||||
Var XMLProfile = "NoDis50ForProYuzu25"
|
||||
EndIf
|
||||
EndIf
|
||||
EndIf
|
||||
Else
|
||||
|
|
@ -81,3 +71,9 @@ Else
|
|||
EndIf
|
||||
|
||||
EndIf
|
||||
|
||||
|
||||
|
||||
If IgnoreProfileFromRunEV = 1 Then
|
||||
Var ToggleAfterEventProfileOff = 1
|
||||
EndIf
|
||||
|
|
|
|||
|
|
@ -58,39 +58,6 @@ If SystemDateMonthInt = 9 Then
|
|||
EndIf
|
||||
EndIf
|
||||
|
||||
If SystemDateMonthInt = 10 Then
|
||||
If SetProReduceByBO = 1 Then
|
||||
Var ProReducedPriceEnable = 1
|
||||
EndIf
|
||||
|
||||
Var IgnoreProfileFromRunEV = 1
|
||||
EndIf
|
||||
|
||||
If SystemDateMonthInt = 11 Then
|
||||
If SetProReduceByBO = 1 Then
|
||||
Var ProReducedPriceEnable = 1
|
||||
EndIf
|
||||
|
||||
Var IgnoreProfileFromRunEV = 1
|
||||
EndIf
|
||||
|
||||
If SystemDateMonthInt = 12 Then
|
||||
Var IgnoreProfileFromRunEV = 1
|
||||
|
||||
If SetProReduceByBO = 1 Then
|
||||
Var ProReducedPriceEnable = 0
|
||||
EndIf
|
||||
|
||||
EndIf
|
||||
|
||||
If SystemDateMonthInt = 1 Then
|
||||
If SystemDateDayInt < 16 Then
|
||||
Var IgnoreProfileFromRunEV = 1
|
||||
Else
|
||||
Var IgnoreProfileFromRunEV = 0
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
If SystemDateMonthInt < 10 Then
|
||||
Var ProReducedPriceEnable = 0
|
||||
EndIf
|
||||
|
|
|
|||
41
inter/mys/xml/topping_scripts/chg_price_event.ev
Normal file
|
|
@ -0,0 +1,41 @@
|
|||
DEBUGVAR "Section: chg_price_event"
|
||||
|
||||
; init-vars
|
||||
Var enableDiscount50 = "false"
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
; check-profiles
|
||||
STRCONTAIN "Discount50" XMLProfile enableDiscount50
|
||||
|
||||
|
||||
; act-by-prof
|
||||
If enableDiscount50 = "true" Then
|
||||
|
||||
DEBUGVAR "pre-discount50"
|
||||
DEBUGVAR toppingID2price1
|
||||
DEBUGVAR toppingID2price2
|
||||
DEBUGVAR toppingID2price3
|
||||
DEBUGVAR toppingID3price2
|
||||
DEBUGVAR toppingID6price2
|
||||
|
||||
Var toppingID2price1 = toppingID2price1 / 2
|
||||
Var toppingID2price2 = toppingID2price2 / 2
|
||||
Var toppingID2price3 = toppingID2price3 / 2
|
||||
|
||||
Var toppingID3price2 = toppingID3price2 / 2
|
||||
|
||||
Var toppingID6price2 = toppingID6price2 / 2
|
||||
|
||||
DEBUGVAR "after-discount50"
|
||||
DEBUGVAR toppingID2price1
|
||||
DEBUGVAR toppingID2price2
|
||||
DEBUGVAR toppingID2price3
|
||||
DEBUGVAR toppingID3price2
|
||||
DEBUGVAR toppingID6price2
|
||||
|
||||
EndIf
|
||||
|
||||
DEBUGVAR "Section: chg_price_event end!"
|
||||
|
|
@ -1,7 +1,10 @@
|
|||
Var lang_icon_file_name[0] = "bn_eng_lang.png"
|
||||
Var lang_icon_file_name[1] = "bn_malay_lang.png"
|
||||
Var lang_icon_file_name[4] = "bn_malay_lang.png"
|
||||
|
||||
DEBUGVAR lang_icon_file_name[0]
|
||||
DEBUGVAR lang_icon_file_name[1]
|
||||
DEBUGVAR lang_icon_file_name[2]
|
||||
DEBUGVAR lang_icon_file_name[3]
|
||||
DEBUGVAR lang_icon_file_name[4]
|
||||
DEBUGVAR LanguageShowByIndex
|
||||
DEBUGVAR ENABLE_LANGUAGE_COUNT
|
||||
DEBUGVAR ENABLE_LANGUAGE_COUNT
|
||||
|
|
|
|||