#LOCAL("CurrentObject", #_)#IF(NOT #SuperProduct AND #DefaultSubProduct)#SET("CurrentObject", #DefaultSubProduct)#ENDIF #IF(#ImageSmall) #NameOrAlias #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", #FUNCTION("MANUFACTURERPRICE", #Object, #CurrencyID, #Shop.TaxModel, #Session.User.Object)) #LOCAL("DisplayPrice", "") #IF(#DefaultSubProduct AND NOT #SuperProduct) #SET("DisplayPrice", #DISPLAYPRICE(#DefaultSubProduct.Object, #CurrencyID, #Shop.TaxModel, #Session.User.Object)) #ELSE #SET("DisplayPrice", #DISPLAYPRICE(#Object, #CurrencyID, #Shop.TaxModel, #Session.User.Object)) #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)) #IF(#DEFINED(#ReferencePrice) AND #ReferencePrice != #DisplayPrice) #RefAmount #IF(#DEFINED(#RefUnit.Abbreviation))#RefUnit.Abbreviation#ELSE#RefUnit.NameOrAlias#ENDIF = #ReferencePrice[money]
#ENDIF #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 #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 #REM#ENDREM