#LOCAL("CurrencyID", #INPUT.Currency) #LOCAL("DisplayPrice", #FUNCTION("DISPLAYPRICE", #Object, #CurrencyID, #Shop.TaxModel, #Session.User.Object)) #LOCAL("ImgPosition","top") #LOCAL("ImgScale","medium") #LOCAL("ImgInfo",#ImageInfo(#ImageMedium,#PublicPath)) #IF(#ImgInfo.Width > 200) #SET("ImgScale","custom") #ENDIF #ENDLOCAL
#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}#ELSE {UnknownError} ({Error}: #Reason) #ENDIF #ENDLOOP #ENDIF

#ENDIF
#BLOCK("InlineEditor", "text", #Object, "Name", "Tag=h1") #IF(#IsNew){New}#ENDIF

#NameOrAlias

#ENDBLOCK
#IF(#Shop.IsProductNoVisible){ItemNoShort}: #Alias#ENDIF #IF(#SuperProduct)(#JOIN(", ",#VariationTypeValues)#LOCAL("AttributeValue",#GET(#Attribute.Alias))#Attribute.NameOrAlias#SPACE[0]: #AttributeValue.ValueOrAlias#ENDLOCAL#ENDJOIN)#ENDIF #IF(#Shop.IsProductNoVisible OR #SuperProduct)

#ENDIF #IF(#ImageMedium OR #ImageLarge OR (#COUNT(#ImagesSlideShow) AND #Shop.FeatureMaxValue.ProductSlideShow)) #INCLUDE("Image") #ENDIF
#BLOCK("InlineEditor", "html", #Object, "Text", "Tag=div") #IF(#Text)
#Text[0]
#ELSE
#Description[0]
#ENDIF #ENDBLOCK #INCLUDE("INC-DownloadPreview") #INCLUDE("Content-TitleBox-Aviability") #IF(#DEFINED(#ManufacturerPrice))
#Shop.ReferencePriceText[0] #IF(#Shop.CancelReferencePrice)#ManufacturerPrice[money]#ELSE #ManufacturerPrice[money]#ENDIF
#ENDIF #IF(#DEFINED(#DisplayPrice))
#IF(#IsBundleProduct) {Price} #INCLUDE("INC-DisplayPrice") #ELSE #SNIPPET("INC-DisplayPrice", "NoVariationPriceFromText", "1") #ENDIF
#IF(#Shop.PriceTagInfoSingleProductGross OR #Shop.PriceTagInfoSingleProductNet)
#IF(#FUNCTION("DISPLAYPRICETAGINFOGROSS", #Object, #Shop.TaxModel, #Session.User.Object)) #Shop.PriceTagInfoSingleProductGross[0] #ELSE #Shop.PriceTagInfoSingleProductNet[0] #ENDIF
#ENDIF #IF(#DisplayDeliveryWeight AND #Weight)
{Weight}: #Weight[float] #WeightUnit.Abbreviation
#ENDIF #LOCAL("PriceDeposit", #FUNCTION("DEPOSIT", #Object, #CurrencyID, #Shop.TaxModel, #Session.User.Object)) #LOCAL("PriceEcoParticipation", #FUNCTION("ECOPARTICIPATION", #Object, #CurrencyID, #Shop.TaxModel, #Session.User.Object)) #IF(#PriceDeposit)#LOCAL("DepositTotalAmount", #CALCULATE(#PriceDeposit + #DisplayPrice))
+ {Deposit} #PriceDeposit[money]#IF(NOT #PriceEcoParticipation), {LineItemPriceLong} #DepositTotalAmount[money]#ENDIF
#ENDLOCAL#ENDIF #IF(#PriceEcoParticipation)#LOCAL("EcoTotalAmount", #CALCULATE(#PriceEcoParticipation + #DisplayPrice))
+ {EcoParticipation} #PriceEcoParticipation[money] #IF(#PriceDeposit)#SET("EcoTotalAmount", #CALCULATE(#EcoTotalAmount + #PriceDeposit))
{LineItemPriceLong} #EcoTotalAmount[money] #ELSE, {LineItemPriceLong} #EcoTotalAmount[money]#ENDIF
#ENDLOCAL#ENDIF #ENDLOCAL #ENDLOCAL #ENDIF #IF(#IsBundleProduct AND #DEFINED(#DisplayPrice)) #IF(#COUNT(#BundledProducts)) #LOCAL("BundledListPriceSum",#FUNCTION("BUNDLEDLISTPRICESUM", #Object, #INPUT.Currency, #Shop.TaxModel, #Session.User.Object)) #LOCAL("Saving", #CALCULATE(#BundledListPriceSum - #DisplayPrice)) #IF(#Saving > 0) #IF(#BundledListPriceSum)
{BundledProductPrices} #BundledListPriceSum[money]
#ENDIF
{Saving} #Saving[money]
#ENDIF #ENDLOCAL #ENDLOCAL #ENDIF #ENDIF #LOCAL("ReferencePrice",#FUNCTION("REFERENCEPRICE", #Object, #DisplayPrice, #INPUT.Currency))#IF(#ReferencePrice != #DisplayPrice)
#RefAmount #IF(#DEFINED(#RefUnit.Abbreviation))#RefUnit.Abbreviation#ELSE#RefUnit.NameOrAlias#ENDIF = #ReferencePrice[money]
#ENDIF #ENDLOCAL #IF(#IsDailyPrice)
{IsDailyPriceSF}
#ENDIF

#ENDLOCAL #ENDLOCAL #ENDLOCAL #ENDLOCAL