#LOCAL("CurrencyID", #INPUT.Currency) #LOCAL("DisplayPrice", #FUNCTION("DISPLAYPRICE", #Object, #CurrencyID, #Shop.TaxModel, #Session.User.Object)) #LOCAL("ManufacturerPrice", #FUNCTION("MANUFACTURERPRICE", #Object, #CurrencyID, #Shop.TaxModel, #Session.User.Object)) #LOCAL("ImgPosition","right") #LOCAL("ImgFormat","square")
#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 #REM #ENDREM #LOCAL("Object",#_) #IF(#DEFINED(#FromSearch) AND #IsMaster)#SET("Object",#SearchFoundObject)#ENDIF #WITH(#Object) #IF(#ImageMedium OR #ImageLarge OR (#UseSlideshow AND #Shop.FeatureMaxValue.ProductSlideShow))
#INCLUDE("Image")
#ENDIF #ENDWITH #ENDLOCAL
#ELSE class="InfoAreaFullSize">#REM#ENDREM #ENDIF #BLOCK("InlineEditor", "text", #Object, "Name", "Tag=h1") #IF(#IsNew){New}#ENDIF

#NameOrAlias

#ENDBLOCK #IF(#INPUT.IsEditorMode) #ENDIF
#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 #BLOCK("InlineEditor", "html", #Object, "Text", "Tag=div")
#IF(#Text)#Text[0]#ELSE#Description[0]#ENDIF
#ENDBLOCK #INCLUDE("INC-DownloadPreview")
#REM Offer start #ENDREM #INCLUDE("Content-TitleBox-Availability") #IF(#DEFINED(#ManufacturerPrice))
#Shop.ReferencePriceText[0] #IF(#Shop.CancelReferencePrice)#ManufacturerPrice[money]#ELSE #ManufacturerPrice[money]#ENDIF
#ENDIF #IF(#DEFINED(#DisplayPrice))
#IF(#IsBundleProduct) {Price} #SNIPPET("INC-DisplayPrice", "IsProductDetail", "1") #ELSE #SNIPPET("INC-DisplayPrice", "NoVariationPriceFromText,IsProductDetail", "1", "1") #ENDIF
#IF(#DEFINED(#ManufacturerPrice) AND #DisplayPrice < #ManufacturerPrice AND #DisplayPrice > 0) #LOCAL("PriceSavings", #PRICESAVINGS(#Object, #DisplayPrice, #ManufacturerPrice)) #IF(#DEFINED(#PriceSavings))
{YouSaving} #PriceSavings
#ENDIF #ENDLOCAL #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)) #IF(#BundledListPriceSum)
{BundledProductPrices} #BundledListPriceSum[money]
#ENDIF #IF(#DisplayPrice < #BundledListPriceSum AND #DisplayPrice > 0) #LOCAL("Saving", #PRICESAVINGS(#Object, #DisplayPrice, #BundledListPriceSum)) #IF(#DEFINED(#Saving))
{YouSaving} #Saving[money]
#ENDIF #ENDLOCAL #ENDIF #ENDLOCAL #ENDIF #ENDIF #LOCAL("ReferencePrice",#FUNCTION("REFERENCEPRICE", #Object, #DisplayPrice, #INPUT.Currency))#IF(#DEFINED(#ReferencePrice) AND #ReferencePrice != #DisplayPrice)
#RefAmount #IF(#DEFINED(#RefUnit.Abbreviation))#RefUnit.Abbreviation#ELSE#RefUnit.NameOrAlias#ENDIF = #ReferencePrice[money]
#ENDIF #ENDLOCAL #IF(#IsDailyPrice)
{IsDailyPriceSF}
#ENDIF
#REM Offer end #ENDREM

#ENDLOCAL #ENDLOCAL #ENDLOCAL #ENDLOCAL #ENDLOCAL