#REM#ENDREM #LOCAL("ShowVariationValues",0) #IF(#SuperProduct AND NOT #INPUT.FromSearch) #SET("ShowVariationValues",1) #LOOP(#SuperProduct.Categories) #IF(#ID == #THIS.ID)#SET("ShowVariationValues",0)#ENDIF #ENDLOOP #ENDIF #IF(#INPUT.FromSearch) #SET("RemoteViewAction","&ViewAction=ViewProduct") #ENDIF
#IF(#ImageSmall OR #DefaultSubProduct.ImageSmall)
#IF(NOT #SuperProduct AND #DefaultSubProduct) #NameOrAlias #ELSE #NameOrAlias #ENDIF
#ENDIF

#IF(#IsNew OR #DefaultSubProduct.IsNew) {New} #ENDIF #BLOCK("InlineEditor", "text", #Object, "Name", "Tag=a")#ENDBLOCK #IF(#SuperProduct AND #ShowVariationValues) #LOCAL("ListItemProduct",#_) (#JOIN(", ",#VariationTypeValues)#Attribute.NameOrAlias#SPACE[0]: #FORMAT(#GET("ListItemProduct.".#Attribute.Alias.".ValueOrAlias"),"html")#ENDJOIN) #ENDLOCAL #ENDIF

#IF(#Shop.IsProductNoVisible AND NOT #DEFINED(#SuperProduct) AND NOT #DEFINED(#DefaultSubProduct)){ItemNoShort}: #Alias#ENDIF #IF(#SuperProduct) #BLOCK("InlineEditor", "html", #SuperProduct.Object, "Description", "Tag=div;Class=Description")#IF(#Description)
#Description[0]
#ENDIF#ENDBLOCK #IF(#ShowSubProductDetails) #REM#ENDREM #LOCAL("ListItemProduct",#_)
#JOIN(", ",#ListItemProduct.VariationTypeValues)#Attribute.NameOrAlias#SPACE[0]: #FORMAT(#GET("ListItemProduct.".#Attribute.Alias.".ValueOrAlias"),"html")#ENDJOIN)
#ENDLOCAL #ENDIF #ELSE #BLOCK("InlineEditor", "html", #Object, "Description", "Tag=div;Class=Description")#IF(#Description)
#Description[0]
#ENDIF#ENDBLOCK #ENDIF
#LOCAL("CurrencyID", #INPUT.Currency) #LOCAL("DisplayPrice", "") #LOCAL("ManufacturerPrice", #MANUFACTURERPRICE(#Object, #CurrencyID, #Shop.TaxModel, #Session.User.Object)) #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("DoCloseFloatArea",1) #IF(#DEFINED(#SNIPPET.IsBundleList) AND #SNIPPET.IsBundleList AND #DEFINED(#DisplayPrice))
#BundledQuantity[float] #OrderUnit.Name
#ENDIF #IF(#DEFINED(#ManufacturerPrice))
#IF(#Shop.ReferencePriceText)#Shop.ReferencePriceText[0]#ENDIF #IF(#Shop.CancelReferencePrice)#ManufacturerPrice[money]#ELSE #ManufacturerPrice[money]#ENDIF
#ENDIF
#IF(#DEFINED(#DisplayPrice)) #IF(#DEFINED(#SNIPPET.IsBundleList) AND #SNIPPET.IsBundleList) #IF(#DEFINED(#DisplayPrice))#SET("DisplayPrice", #DisplayPrice * #BundledQuantity) #SNIPPET("INC-DisplayPrice", "OrderUnitDisplayOption,EnableAsterisk,NoVariationPriceFromText", "None", "1", "1") #ENDIF #ELSE #SNIPPET("INC-DisplayPrice", "OrderUnitDisplayOption,EnableAsterisk", "Short","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(#DisplayDeliveryWeight AND #Weight)
{Weight}: #Weight[float] #WeightUnit.Abbreviation
#ENDIF #LOCAL("ReferencePrice",#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(#IsDailyPrice)
{IsDailyPriceSF}
#ENDIF #ENDIF #IF(NOT #DEFINED(#SNIPPET.IsBundleList) OR NOT #SNIPPET.IsBundleList)
#IF(NOT #IsAvailable) #IF(#AvailabilityComment)
#AvailabilityComment[0]
#ENDIF #ELSIF(NOT #SuperProduct OR (#SuperProduct AND (#SuperProduct.StockLevel OR #ShowVariationValues))) #SNIPPET("SNIPPET-ProductStockLevel", "AddAvailabilityStructuredData", "0") #ENDIF
#ENDIF
#ENDLOCAL #ENDLOCAL #ENDLOCAL #ENDLOCAL
#ENDLOCAL