add cart taobin

This commit is contained in:
nattapon tachawong 2025-05-02 15:20:03 +07:00
parent 5549a25d26
commit 0113deb56e
4 changed files with 547 additions and 146 deletions

View file

@ -45,6 +45,10 @@
Var PriceDrinkMulti = 0
Var CART_INDEX = 0
Var cardBottomY = 0
Var lineBottomY = 0
Var subtotalBottomY = 0
If show_eng = "true" Then
@ -56,6 +60,9 @@
Var cart1_en = "Enable"
Var PriceDrinkMulti = PriceDrinkMulti + CART1_PRICE
Var cardBottomY = 760
Var lineBottomY = 750
Var subtotalBottomY = 810
EndIf
@ -67,6 +74,10 @@
Var PriceDrinkMulti = PriceDrinkMulti + CART2_PRICE
Var cardBottomY = 910
Var lineBottomY = 900
Var subtotalBottomY = 960
EndIf
If CART_COUNT = 3 Then
@ -76,6 +87,11 @@
Var cart3_en = "Enable"
Var PriceDrinkMulti = PriceDrinkMulti + CART3_PRICE
Var cardBottomY = 1050
Var lineBottomY = 1040
Var subtotalBottomY = 1100
EndIf
@ -91,6 +107,10 @@
Var PriceDrinkMulti = PriceDrinkMulti + CART1_PRICE
Var cardBottomY = 760
Var lineBottomY = 750
Var subtotalBottomY = 810
EndIf
If CART_COUNT >= 2 Then
@ -101,6 +121,10 @@
Var PriceDrinkMulti = PriceDrinkMulti + CART2_PRICE
Var cardBottomY = 910
Var lineBottomY = 900
Var subtotalBottomY = 960
EndIf
If CART_COUNT = 3 Then
@ -110,6 +134,10 @@
Var cart3_en = "Enable"
Var PriceDrinkMulti = PriceDrinkMulti + CART3_PRICE
Var cardBottomY = 1050
Var lineBottomY = 1040
Var subtotalBottomY = 1100
EndIf
EndIf