#BLOCK("InlineEditor", "text", #Object, "Name", "Tag=h1")
#IF(#IsNew)
#ENDIF
#BLOCK("InlineEditor", "html", #Object, "Text", "Tag=div;GetAction=JSONGetTLE")
#IF(#Text)
#Text[0]
#ELSE
#Description[0]
#ENDIF
#REM Offer start #ENDREM
#INCLUDE("Content-TitleBox-Availability")
#IF(#DEFINED(#ManufacturerPrice))
#IF(#Shop.ReferencePriceText)#Shop.ReferencePriceText[0]#ENDIF
#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))
#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))
#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 #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