THAI: update pepsi second cup 30 promotion

This commit is contained in:
Kenta420 2024-02-28 13:31:26 +07:00
parent 187689d96e
commit c522339333
3 changed files with 79 additions and 9 deletions

View file

@ -36,7 +36,21 @@
EndIf
Else
If Timeout > 5 Then
Open "ROOT/taobin_project/xml/page_lid_straw.xml"
If PepsiSecondCup30Enable = 1 Then
If PepsiSecondCup30DiscountEnable = 1 Then
If FromPepsiSecondCup30 = 1 Then
If Seeker.VendingCode = "PMX10" Then
Open "ROOT/taobin_project/xml/page_lid_straw.xml"
Else
Open "ROOT/taobin_project/xml/event/pepsi_second_cup_30/page_got_discount_code_pepsi.xml"
EndIf
Else
Open "ROOT/taobin_project/xml/page_lid_straw.xml"
EndIf
EndIf
Else
Open "ROOT/taobin_project/xml/page_lid_straw.xml"
EndIf
EndIf
EndIf
@ -151,7 +165,21 @@
If FromCheckMemberPoint = 1 Then
Open "ROOT/taobin_project/xml/page_check_member2.xml"
Else
Open "ROOT/taobin_project/xml/page_lid_straw.xml"
If PepsiSecondCup30Enable = 1 Then
If PepsiSecondCup30DiscountEnable = 1 Then
If FromPepsiSecondCup30 = 1 Then
If Seeker.VendingCode = "PMX10" Then
Open "ROOT/taobin_project/xml/page_lid_straw.xml"
Else
Open "ROOT/taobin_project/xml/event/pepsi_second_cup_30/page_got_discount_code_pepsi.xml"
EndIf
Else
Open "ROOT/taobin_project/xml/page_lid_straw.xml"
EndIf
EndIf
Else
Open "ROOT/taobin_project/xml/page_lid_straw.xml"
EndIf
EndIf
</EventClick>
</Button>
@ -170,7 +198,21 @@
If FromCheckMemberPoint = 1 Then
Open "ROOT/taobin_project/xml/page_check_member2.xml"
Else
Open "ROOT/taobin_project/xml/page_lid_straw.xml"
If PepsiSecondCup30Enable = 1 Then
If PepsiSecondCup30DiscountEnable = 1 Then
If FromPepsiSecondCup30 = 1 Then
If Seeker.VendingCode = "PMX10" Then
Open "ROOT/taobin_project/xml/page_lid_straw.xml"
Else
Open "ROOT/taobin_project/xml/event/pepsi_second_cup_30/page_got_discount_code_pepsi.xml"
EndIf
Else
Open "ROOT/taobin_project/xml/page_lid_straw.xml"
EndIf
EndIf
Else
Open "ROOT/taobin_project/xml/page_lid_straw.xml"
EndIf
EndIf
</EventClick>