#IF(#Text)#Text[0]#ELSE#Description[0]#ENDIF
#LOCAL("TaxModel", #Shop.TaxModel)
#LOOP(#ListPrices)
#LOCAL("DisplayPrice", "")
#IF(#DefaultSubProduct AND NOT #SuperProduct)
#SET("DisplayPrice", #DISPLAYPRICE(#DefaultSubProduct.Object, #CurrencyID, #TaxModel))
#ELSE
#SET("DisplayPrice", #DISPLAYPRICE(#PriceObject, #CurrencyID, #TaxModel))
#ENDIF
#INCLUDE("INC-DisplayPrice", "NoDebug")
#ENDLOCAL
#ENDLOOP
#LOCAL("ReferencePrice",#FUNCTION("REFERENCEPRICE", #Object, #ListPrice, #INPUT.Currency))#IF(#ReferencePrice != #ListPrice)
(#RefAmount #IF(#DEFINED(#RefUnit.Abbreviation))#RefUnit.Abbreviation#ELSE#RefUnit.NameOrAlias#ENDIF = #ReferencePrice[money])
#ENDIF#ENDLOCAL
#ENDLOCAL
#IF(#Shop.PriceTagInfoSingleProductGross OR #Shop.PriceTagInfoSingleProductNet)
#IF(#FUNCTION("DISPLAYPRICETAGINFOGROSS", #Object, #Shop.TaxModel, #Session.User.Object))
#IF(#IsAppointment)#Shop.PriceTagInfoSingleResourceGross[nohtml]#ELSE#Shop.PriceTagInfoSingleProductGross[nohtml]#ENDIF
#ELSE
#IF(#IsAppointment)#Shop.PriceTagInfoSingleResourceNet[nohtml]#ELSE#Shop.PriceTagInfoSingleProductNet[nohtml]#ENDIF
#ENDIF
#ENDIF