#LOCAL("CurrencyID", #INPUT.Currency)#LOCAL("DisplayPrice", #FUNCTION("DISPLAYPRICE", #Object, #CurrencyID, #Shop.TaxModel, #Session.User.Object))#LOCAL("PriceDeposit", #FUNCTION("DEPOSIT", #Object, #CurrencyID, #Shop.TaxModel, #Session.User.Object))#LOCAL("PriceEcoParticipation", #FUNCTION("ECOPARTICIPATION", #Object, #CurrencyID, #Shop.TaxModel, #Session.User.Object))
#IF(#FormError AND NOT #FormErrors.Form.Login.ErrorCount)

#IF(#FormError_Quantity){EnterValidValue} #ELSE#LOOP(#FormErrors.Reasons)#IF(#Reason EQ "ProductNotVisible") {ProductNotVisible}#ELSIF(#Reason EQ "ProductNoTaxClass") {ProductNoTaxClass}#ELSIF(#Reason EQ "ProductNoPrice") {ProductNoPrice}#ELSIF(#Reason EQ "SUBPRODUCT_NOT_EXISTS") {SubProductNotExists}#ELSIF(#Reason EQ "NoShipping") {NoShipping}#ELSIF(#Reason EQ "ExclusiveShippingMethod") {ExclusiveShippingMethod}#ELSIF(#Reason EQ "NoPayment") {NoPayment}#ELSIF(#Reason EQ "ProductCanNotAddToBasket") {ProductCanNotAddToBasket}#ELSIF(#Reason EQ "ProductCanNotChangedAtBasket") {ProductCanNotChangedAtBasket}#ELSIF(#Reason EQ "LoginRequired2Order") {AddToBasketNotAllowedForUnregistered}#ELSIF(#Reason EQ "LoginRequired2InstantlyOrder") {AddToBasketNotAllowedForAccount} #ELSIF(#Reason EQ "ReachMaxBasketPositions")

{ReachedMaxBasketPositions}

{ReachedMaxBasketPositionsInfo}

#ELSE {UnknownError} ({Error}: #Reason) #ENDIF #ENDLOOP #ENDIF

#ENDIF

#NameOrAlias #IF(#IsNew OR #DefaultSubProduct.IsNew) {New} #ENDIF

#MENU("Content-Base")#INCLUDE(#Template)#ENDMENU #INCLUDE("INC-DownloadPreview") #MENU("Mobile-ContentSpecialPrices")#INCLUDE(#Template)#ENDMENU
#ENDLOCAL#ENDLOCAL#ENDLOCAL#ENDLOCAL