#LOCAL("CurrentObject", #_)#IF(NOT #SuperProduct AND #DefaultSubProduct)#SET("CurrentObject", #DefaultSubProduct)#ENDIF
#IF(#ImageMedium)
#ENDIF
#NameOrAlias
#IF(#IsNew OR #DefaultSubProduct.IsNew)
{New}
#ENDIF
#IF(#Shop.IsProductNoVisible AND NOT #DEFINED(#SuperProduct) AND NOT #DEFINED(#DefaultSubProduct))
{ItemNoShort}: #Alias#ENDIF
#LOCAL("CurrencyID", #INPUT.Currency)
#LOCAL("ManufacturerPrice", #MANUFACTURERPRICE(#Object, #CurrencyID, #Shop.TaxModel, #Session.User.Object))
#LOCAL("LowestManufacturerPrice", #LOWESTMANUFACTURERPRICEFORVARIATION(#Object, #INPUT.Currency, #Shop.TaxModel, #Session.User.Object))
#IF(#DEFINED(#LowestManufacturerPrice))
#SET("ManufacturerPrice", #LowestManufacturerPrice)
#ENDIF
#LOCAL("DisplayPrice", "")
#IF(#SuperProduct)
#SET("DisplayPrice", #DISPLAYPRICE(#Object, #CurrencyID, #Shop.TaxModel, #Session.User.Object, 1))
#ELSE
#SET("DisplayPrice", #DISPLAYPRICE(#Object, #CurrencyID, #Shop.TaxModel, #Session.User.Object, 0))
#ENDIF
#LOCAL("ExistsManufacturerPrice", 0)
#IF(#DEFINED(#ManufacturerPrice))
#IF(#Shop.ReferencePriceText)#Shop.ReferencePriceText[0]#ENDIF #IF(#Shop.CancelReferencePrice)#ManufacturerPrice[money] #SET("ExistsManufacturerPrice", 1) #ELSE #ManufacturerPrice[money]#ENDIF
#ENDIF
#IF(#DEFINED(#DisplayPrice))
#IF(#DEFINED(#SNIPPET.IsBundleList))
#BundledQuantity[float] #OrderUnit.Name
#IF(#DEFINED(#DisplayPrice))#SET("DisplayPrice", #DisplayPrice * #BundledQuantity)
#SNIPPET("INC-DisplayPrice", "OrderUnitDisplayOption,EnableAsterisk,NoVariationPriceFromText", "None", "1", "1")
#ENDIF
#ELSE
#SNIPPET("INC-DisplayPrice", "EnableAsterisk", "1")
#ENDIF
#LOCAL("ReferencePrice",#FUNCTION("REFERENCEPRICE", #Object, #DisplayPrice, #INPUT.Currency))
#LOCAL("LowestReferencePrice",#LOWESTREFERENCEPRICEFORMASTER(#Object, #INPUT.Currency, #Shop.TaxModel))
#IF(#DEFINED(#SNIPPET.IsBundleList) AND #SNIPPET.IsBundleList)
#SET("BundleDisplayPriceOnePiece", #DisplayPrice / #BundledQuantity)
#SET("ReferencePrice", #FUNCTION("REFERENCEPRICE", #Object, #BundleDisplayPriceOnePiece, #INPUT.Currency))
#ENDIF
#IF(#IsMaster AND #DEFINED(#LowestReferencePrice))
#SET("ReferencePrice", #LowestReferencePrice)
#ENDIF
#IF(#DEFINED(#ReferencePrice) AND #ReferencePrice != #DisplayPrice)
#RefAmount #IF(#DEFINED(#RefUnit.Abbreviation))#RefUnit.Abbreviation#ELSE#RefUnit.NameOrAlias#ENDIF = #ReferencePrice[money]
#ENDIF
#ENDLOCAL
#ENDLOCAL
#IF(#DEFINED(#ManufacturerPrice) AND #DisplayPrice < #ManufacturerPrice AND #DisplayPrice > 0)
#LOCAL("PriceSavings", #PRICESAVINGS(#Object, #DisplayPrice, #ManufacturerPrice))
#IF(#DEFINED(#PriceSavings)){YouSaving} #PriceSavings
#ENDIF
#ENDLOCAL
#ENDIF
#IF(#IsDailyPrice)
{IsDailyPriceSF}
#ENDIF
#ENDIF
#SET("NeedPriceTagInfo", 1)
#ENDLOCAL
#IF(#ProductDataSheet)
#SNIPPET("SNIPPET-ProductDataSheet")
#ENDIF
#ENDLOCAL
#ENDLOCAL
#ENDLOCAL
#ENDLOCAL
#IF(#SuperProduct)
#LOCAL("ShowVariationValues",1)
#LOOP(#SuperProduct.Categories)
#IF(#ID == #THIS.ID)#SET("ShowVariationValues",0)#ENDIF
#ENDLOOP
#IF(#ShowVariationValues)
#LOCAL("ListItemProduct",#_)
(#JOIN(", ",#VariationTypeValues)#Attribute.NameOrAlias#SPACE[0]: #FORMAT(#GET("ListItemProduct.".#Attribute.Alias.".ValueOrAlias"),"html")#ENDJOIN)
#ENDLOCAL
#ENDIF
#ENDLOCAL
#ENDIF
#MENU("ListProductLinks")#INCLUDE(#Template)#ENDMENU
#ENDLOCAL