taobin_project/xml/event/promotion_template3.inc

93 lines
2.3 KiB
PHP
Raw Normal View History

2024-08-01 12:58:47 +07:00
<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>
2023-06-23 12:45:40 +07:00
<Button>
<X> 42 </X>
2024-03-05 17:35:54 +07:00
<Y> 518 </Y>
2023-10-14 09:04:22 +07:00
<State> BigButtonEnable </State>
<Filename>
2023-06-23 12:45:40 +07:00
eval(
If show_eng = "true" Then
2024-08-01 12:58:47 +07:00
If SystemDateDayInt >= 13 Then
Var return = ###normal_eng + "13-16.png"
Else
Var return = ###normal_eng + "10-12.png"
EndIf
2023-06-23 12:45:40 +07:00
Else
2024-08-01 12:58:47 +07:00
If SystemDateDayInt >= 13 Then
Var return = ###normal_thai + "13-16.png"
Else
Var return = ###normal_thai + "10-12.png"
EndIf
2023-06-23 12:45:40 +07:00
EndIf
)
</Filename>
<FilenamePress>
eval(
If show_eng = "true" Then
2024-08-01 12:58:47 +07:00
If SystemDateDayInt >= 13 Then
Var return = ###normal_eng + "13-16.png"
Else
Var return = ###normal_eng + "10-12.png"
EndIf
2023-06-23 12:45:40 +07:00
Else
2024-08-01 12:58:47 +07:00
If SystemDateDayInt >= 13 Then
Var return = ###normal_thai + "13-16.png"
Else
Var return = ###normal_thai + "10-12.png"
EndIf
2023-06-23 12:45:40 +07:00
EndIf
)
</FilenamePress>
<FilenameDisable>
eval(
If show_eng = "true" Then
2024-08-01 12:58:47 +07:00
If SystemDateDayInt >= 13 Then
Var return = ###normal_eng + "13-16.png"
Else
Var return = ###normal_eng + "10-12.png"
EndIf
2023-06-23 12:45:40 +07:00
Else
2024-08-01 12:58:47 +07:00
If SystemDateDayInt >= 13 Then
Var return = ###normal_thai + "13-16.png"
Else
Var return = ###normal_thai + "10-12.png"
EndIf
2023-06-23 12:45:40 +07:00
EndIf
)
</FilenameDisable>
<EventOnClick>
2024-08-01 12:58:47 +07:00
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
2023-10-14 09:04:22 +07:00
2023-06-23 12:45:40 +07:00
</EventOnClick>
2023-10-14 09:04:22 +07:00
2023-06-23 12:45:40 +07:00
</Button>
<EventUnitTest1>
Var BigButtonEnable = "Enable"
Refresh
</EventUnitTest1>
<EventUnitTest2>
Var BigButtonEnable = "Invisible"
Refresh
</EventUnitTest2>