THAI: generate promotion for sure
This commit is contained in:
parent
916eb5879a
commit
751b8f70e6
3 changed files with 16 additions and 16 deletions
|
|
@ -409,9 +409,9 @@ else:
|
||||||
file_xml_double3.close()
|
file_xml_double3.close()
|
||||||
|
|
||||||
if "triple_template1" in param:
|
if "triple_template1" in param:
|
||||||
file_inc_triple1 = open(directory_to_process + "/event/triple_promotion_template2.inc", 'r')
|
file_inc_triple1 = open(directory_to_process + "/event/triple_promotion_template1.inc", 'r')
|
||||||
file_inc_triple1_content = file_inc_triple1.read()
|
file_inc_triple1_content = file_inc_triple1.read()
|
||||||
file_inc_img = open(directory_to_process + "../image/event/image_triple_template2", 'r')
|
file_inc_img = open(directory_to_process + "../image/event/image_triple_template1", 'r')
|
||||||
file_inc_triple1_img_content = file_inc_img.read()
|
file_inc_triple1_img_content = file_inc_img.read()
|
||||||
|
|
||||||
# replace key.
|
# replace key.
|
||||||
|
|
|
||||||
|
|
@ -241,13 +241,13 @@ If BoxID = 201316 Then
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
If BoxID = 105005 Then
|
If BoxID = 105005 Then
|
||||||
Var PepsiSecondCup30Enable = 0
|
Var PepsiSecondCup30Enable = 1
|
||||||
Var PepsiSecondCup30DiscountEnable = 0
|
Var PepsiSecondCup30DiscountEnable = 1
|
||||||
Var NewFlowPaymentCode = 1
|
Var NewFlowPaymentCode = 1
|
||||||
|
|
||||||
Var LipitPro = 1
|
Var LipitPro = 0
|
||||||
Var MondayBananaPro = 1
|
Var MondayBananaPro = 1
|
||||||
Var FreeEnergyDrink = 1
|
Var FreeEnergyDrink = 0
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
If BoxID = 172644 Then
|
If BoxID = 172644 Then
|
||||||
|
|
|
||||||
|
|
@ -13495,33 +13495,33 @@ LIMENADE SODA" </Value>
|
||||||
<Filename>
|
<Filename>
|
||||||
eval(
|
eval(
|
||||||
If show_eng = "true" Then
|
If show_eng = "true" Then
|
||||||
Var return = "ROOT/taobin_project/image/event/lipit/lipit_en.png"
|
Var return = "ROOT/taobin_project/image/event/pepsi_second_cup_30/pro_pepsi_second_cup_30.png"
|
||||||
Else
|
Else
|
||||||
Var return = "ROOT/taobin_project/image/event/lipit/lipit_th.png"
|
Var return = "ROOT/taobin_project/image/event/pepsi_second_cup_30/pro_pepsi_second_cup_30.png"
|
||||||
EndIf
|
EndIf
|
||||||
)
|
)
|
||||||
</Filename>
|
</Filename>
|
||||||
<FilenamePress>
|
<FilenamePress>
|
||||||
eval(
|
eval(
|
||||||
If show_eng = "true" Then
|
If show_eng = "true" Then
|
||||||
Var return = "ROOT/taobin_project/image/event/lipit/lipit_en.png"
|
Var return = "ROOT/taobin_project/image/event/pepsi_second_cup_30/pro_pepsi_second_cup_30.png"
|
||||||
Else
|
Else
|
||||||
Var return = "ROOT/taobin_project/image/event/lipit/lipit_th.png"
|
Var return = "ROOT/taobin_project/image/event/pepsi_second_cup_30/pro_pepsi_second_cup_30.png"
|
||||||
EndIf
|
EndIf
|
||||||
)
|
)
|
||||||
</FilenamePress>
|
</FilenamePress>
|
||||||
<FilenameDisable>
|
<FilenameDisable>
|
||||||
eval(
|
eval(
|
||||||
If show_eng = "true" Then
|
If show_eng = "true" Then
|
||||||
Var return = "ROOT/taobin_project/image/event/lipit/lipit_en.png"
|
Var return = "ROOT/taobin_project/image/event/pepsi_second_cup_30/pro_pepsi_second_cup_30.png"
|
||||||
Else
|
Else
|
||||||
Var return = "ROOT/taobin_project/image/event/lipit/lipit_th.png"
|
Var return = "ROOT/taobin_project/image/event/pepsi_second_cup_30/pro_pepsi_second_cup_30.png"
|
||||||
EndIf
|
EndIf
|
||||||
)
|
)
|
||||||
</FilenameDisable>
|
</FilenameDisable>
|
||||||
<EventOnClick>
|
<EventOnClick>
|
||||||
|
|
||||||
Open "ROOT/taobin_project/xml/page_catalog_group_pro_lipit.xml"
|
Open "ROOT/taobin_project/xml/page_catalog_group_pro_pepsi_second_cup_30.xml"
|
||||||
|
|
||||||
</EventOnClick>
|
</EventOnClick>
|
||||||
|
|
||||||
|
|
@ -13541,7 +13541,7 @@ LIMENADE SODA" </Value>
|
||||||
EndIf
|
EndIf
|
||||||
)
|
)
|
||||||
</State>
|
</State>
|
||||||
<Filename> "ROOT/taobin_project/image/event/lipitpage_catalog_group_pro_lipit/pro_lipitpage_catalog_group_pro_lipit_th.mp4" </Filename>
|
<Filename> "ROOT/taobin_project/image/event/pepsi_second_cup_30/pro_pepsi_second_cup_30_th.mp4" </Filename>
|
||||||
</Video>
|
</Video>
|
||||||
|
|
||||||
<Video>
|
<Video>
|
||||||
|
|
@ -13559,7 +13559,7 @@ LIMENADE SODA" </Value>
|
||||||
)
|
)
|
||||||
</State>
|
</State>
|
||||||
<Loop> "true" </Loop>
|
<Loop> "true" </Loop>
|
||||||
<Filename> "ROOT/taobin_project/image/event/lipitpage_catalog_group_pro_lipit/pro_lipitpage_catalog_group_pro_lipit_en.mp4" </Filename>
|
<Filename> "ROOT/taobin_project/image/event/pepsi_second_cup_30/pro_pepsi_second_cup_30_en.mp4" </Filename>
|
||||||
</Video>
|
</Video>
|
||||||
|
|
||||||
</Button>
|
</Button>
|
||||||
|
|
@ -13636,7 +13636,7 @@ LIMENADE SODA" </Value>
|
||||||
</FilenameDisable>
|
</FilenameDisable>
|
||||||
<EventOnClick>
|
<EventOnClick>
|
||||||
|
|
||||||
Open "ROOT/taobin_project/xml/event/powerup_free_1/page_powerup_bridge.xml"
|
Open "ROOT/taobin_project/xml/event/powerup_free_1/page_powerup_bridge.xml"
|
||||||
|
|
||||||
</EventOnClick>
|
</EventOnClick>
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue