#IF(#FormErrors) #IF(#FormErrors.Reason.ProductMarkedAsChanged)

{BasketItemChanged}

#LOOP(#ProductsMarkedAsChanged) #ENDLOOP
#ENDIF #IF(#FormErrors.Reason.ProductNotAvailable)

#Shop.ProductNoAddToBasketText #Value

#ENDIF #IF(#FormErrors.Reason.ProductDeleted)

{BasketItemDeleted}

#ENDIF #ENDIF #IF(NOT(#INPUT.ViewAction EQ "View" AND #Class.Alias EQ "CustomerOrder" OR #INPUT.ViewAction EQ "ViewMultiCheckoutConfirmation")) #ENDIF
#LOCAL("BaseBasketForm", 0) #LOCAL("DisableCheckout", 0) #IF( #UseBaseBasketForm OR #INPUT.ViewAction EQ "ViewMultiCheckoutAddress" OR #INPUT.ViewAction EQ "ViewMultiCheckoutShipping" OR #INPUT.ViewAction EQ "ViewMultiCheckoutPayment" OR #INPUT.ViewAction EQ "ViewMultiCheckoutHirePurchase" OR #INPUT.ViewAction EQ "ViewMultiCheckoutConfirmation" ) #SET("BaseBasketForm", 1) #ENDIF #LOCAL("ButtonName","{Buy}") #REM #ENDREM #IF(#DEFINED(#BasketOrderProcess.NextStep.ButtonText) AND #BasketOrderProcess.CurrentStep.Alias NE "Confirmation") #SET("ButtonName",#BasketOrderProcess.NextStep.ButtonText) #ENDIF #IF( #BaseBasketForm )
#IF(#INPUT.ViewAction EQ "ViewMultiCheckoutAddress") #IF(#Shop.OrderProcessAddressText)
#Shop.OrderProcessAddressText[0]
#ENDIF #ELSIF(#INPUT.ViewAction EQ "ViewMultiCheckoutShipping") #IF(#Shop.OrderProcessShippingText)
#Shop.OrderProcessShippingText[0]
#ENDIF #ELSIF(#INPUT.ViewAction EQ "ViewMultiCheckoutPayment") #IF(#Shop.OrderProcessPaymentText)
#Shop.OrderProcessPaymentText[0]
#ENDIF #ELSIF(#INPUT.ViewAction EQ "ViewMultiCheckoutConfirmation") #IF(#LineItemContainer.NeedShipping AND #COUNT(#LineItemContainer.ShippingMethods) == 0 ) #SET("DisableCheckout", 1)

{NoShipping}


#ENDIF #IF(#LineItemContainer.NeedPayment AND #COUNT(#LineItemContainer.PaymentMethods) == 0 ) #SET("DisableCheckout", 1)

{NoPayment}


#ENDIF #IF((#INPUT.ViewAction EQ "ViewMultiCheckoutPayment") OR (#INPUT.ViewAction EQ "ViewMultiCheckoutConfirmation") ) #IF(NOT #IsMinOrderAmountReached) #SET("DisableCheckout", 1) #ENDIF #ENDIF
#ENDIF #ENDIF #MENU("SF-BasketMultipleCheckoutStep-Content") #INCLUDE(#Template) #ENDMENU #IF(#BaseBasketForm) #IF(#INPUT.ViewAction EQ "ViewMultiCheckoutConfirmation")
#ENDIF
#IF(#INPUT.ViewAction EQ "ViewMultiCheckoutConfirmation")
{CustomerComment}:
#REM#ENDREM #ENDIF #IF(#IsBlocked) #ELSE #ENDIF
#ENDIF #ENDLOCAL #ENDLOCAL #ENDLOCAL