#BLOCK("InlineEditor", "text", #Object, "Name", "Tag=h1")
#IF(#IsNew)
{New}#ENDIF
#NameOrAlias
#ENDBLOCK
#IF(#Shop.IsProductNoVisible)
{ItemNoShort}: #Alias#ENDIF
#IF(#SuperProduct)
(#JOIN(", ",#VariationTypeValues)#Attribute.NameOrAlias#SPACE[0]: #FORMAT(#GET(#Attribute.Alias.".ValueOrAlias"),"html")#ENDJOIN)#ENDIF
#IF(#Shop.IsProdutNoVisible OR #SuperProduct)
#ENDIF
#BLOCK("InlineEditor", "html", #Object, "Text", "Tag=div;GetAction=JSONGetTLE")
#IF(#Text)
#Text[0]
#ELSE
#Description[0]
#ENDIF
#ENDBLOCK
#INCLUDE("INC-DownloadPreview")
#INCLUDE("Content-TitleBox-Aviability")
#LOCAL("ManufacturerPrice", #FUNCTION("MANUFACTURERPRICE", #Object, #CurrencyID, #Shop.TaxModel, #Session.User.Object))
#IF(#DEFINED(#ManufacturerPrice))
#IF(#Shop.ReferencePriceText)#Shop.ReferencePriceText[0]#ENDIF
#IF(#Shop.CancelReferencePrice)#ManufacturerPrice[money]#ELSE #ManufacturerPrice[money]#ENDIF
#ENDIF
#ENDLOCAL
#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))
#IF(#IsAppointment)#Shop.PriceTagInfoSingleResourceGross[0]#ELSE#Shop.PriceTagInfoSingleProductGross[0]#ENDIF
#ELSE
#IF(#IsAppointment)#Shop.PriceTagInfoSingleResourceNet[0]#ELSE#Shop.PriceTagInfoSingleProductNet[0]#ENDIF
#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(#DEFINED(#ReferencePrice) AND #DEFINED(#DisplayPrice) AND #ReferencePrice != #DisplayPrice)
#RefAmount #IF(#DEFINED(#RefUnit.Abbreviation))#RefUnit.Abbreviation#ELSE#RefUnit.NameOrAlias#ENDIF = #ReferencePrice[money]
#ENDIF
#ENDLOCAL
#IF(#IsDailyPrice)
{IsDailyPriceSF}
#ENDIF
#MENU("Content-Base")#INCLUDE(#Template)#ENDMENU
#REM #ENDREM