#MENU("Message")#INCLUDE(#Template)#ENDMENU #LOCAL("InputChangeObjectID","") #IF(#DEFINED(#INPUT.ChangeObjectID)) #SET("InputChangeObjectID",#INPUT.ChangeObjectID ) #ENDIF
#LOCAL("SourceUrl","") #IF(#INPUT.LastProductObjectID) #SET("SourceUrl","?ObjectID=".#INPUT.LastProductObjectID) #ELSIF(#INPUT.ObjectPath) #SET("SourceUrl","?ObjectPath=".#INPUT.ObjectPath) #ELSIF(#INPUT.ChangeObjectID AND (NOT(#DEFINED(#INPUT.ChangeAction)) OR #INPUT.ChangeAction NE "SaveLocale")) #SET("SourceUrl","?ObjectID=".#InputChangeObjectID) #ELSE #SET("SourceUrl","?ObjectPath=".#Shop.Categories.Path[url]) #ENDIF ◀ {ContinueShopping} #ENDLOCAL
#MENU("CheckoutButton")#INCLUDE(#Template)#ENDMENU
#LOCAL("BasketId",#ID)
#LOCAL("Alternate", 0)#WITH(#LineItemContainer) #LOOP(#LineItems) #INCLUDE("ContentLine") #ENDLOOP #IF(#LineItemContainer.HasPrepayment) #IF(#COUNT(#LineItems) > 1) #SET("Alternate", 1 - #Alternate) #ENDIF #SET("Alternate", 1 - #Alternate) #ENDIF #LOOP(#Statics) #INCLUDE("ContentLine") #ENDLOOP #LOOP(#SalesDiscounts) #INCLUDE("ContentLine") #ENDLOOP #IF(#TaxModel)#LOOP(#PrePayments) #INCLUDE("ContentLine") #ENDLOOP#ENDIF #LOOP(#Discounts) #INCLUDE("ContentLine") #ENDLOOP #LOCAL("GrossPrePaymentsSum",0) #IF(#TaxModel) #SET("GrossPrePaymentsSum",#PrePaymentsSum) #ENDIF #SET("Alternate", 1 - #Alternate) #ENDLOCAL #IF(#Shop.CanSelectTaxAreaOnBasket) #SET("Alternate", 1 - #Alternate) #ENDIF #IF(NOT #TaxModel)#LOOP(#PrePayments) #INCLUDE("ContentLine") #ENDLOOP#ENDIF #ENDWITH #ENDLOCAL
{Quantity} {Name} {BasePriceAbr} {Discount} {LineItemPriceLong}
{LineItemsSubTotal} #OriginalPriceSubTotal[money]
{PrepaymentFor} #PrepaymentTotalBase[money] #PrepaymentTotal[money]
{LineItemsSubTotal} #LOCAL("LineItemsAndStaticsSubTotal",#CALCULATE(#LineItemsSubTotal + #LineItemStaticsSum + #DiscountsSum + #SalesDiscountsSum + #GrossPrePaymentsSum ))#IF(#LineItemsAndStaticsSubTotal < 0 )#SET("LineItemsAndStaticsSubTotal",0) #ENDIF#LineItemsAndStaticsSubTotal[money]#ENDLOCAL
{TaxArea}
#WITH(#LineItemContainer) #IF(NOT #Shop.VATreleased)
#IF(#TaxModel){TaxIncluded} #ELSE {TaxNotIncluded} #ENDIF
#ENDIF #IF(#Shop.FeatureMaxValue.PaymentNote AND #Payment.PaymentMethod.Note)
#Payment.PaymentMethod.Note[0]#ENDIF #IF(#Shop.FeatureMaxValue.DeliveryNote AND #Shipping.ShippingMethod.Note)
#Shipping.ShippingMethod.Note[0]#ENDIF #ENDWITH #MENU("SalesDiscounts")#INCLUDE(#Template)#ENDMENU #ENDLOCAL
#MENU("AdditionalItems")#INCLUDE(#Template)#ENDMENU
#ENDLOCAL
#MENU("CheckoutForm")#INCLUDE(#Template)#ENDMENU