#LOCAL("HasPrice", 0) #REM#ENDREM #LOCAL("CompProducts", #ComparisonProducts) #LOOP(#CompProducts) #ENDLOOP #IF(#Shop.IsProductNoVisible) #LOOP(#CompProducts) #ENDLOOP #ENDIF #LOOP(#CompProducts) #ENDLOOP #LOOP(#CompProducts) #LOCAL("DisplayPrice", "") #IF(#DefaultSubProduct AND NOT #SuperProduct) #SET("DisplayPrice", #DISPLAYPRICE(#DefaultSubProduct.Object, #INPUT.Currency, #Shop.TaxModel, #Session.User.Object)) #ELSE #SET("DisplayPrice", #DISPLAYPRICE(#Object, #INPUT.Currency, #Shop.TaxModel, #Session.User.Object)) #ENDIF #ENDLOCAL #ENDLOOP #LOOP(#CompProducts) #ENDLOOP #LOOP(#CompProducts) #ENDLOOP #LOOP(#CompProducts) #ENDLOOP #ENDLOCAL #REM #ENDREM #LOOP(#ComparisonAttributes) #LOCAL("AttributeAlias", #Attribute.Alias)#LOCAL("MyAttributeID", #Attribute.ID) #LOOP(#Products) #ENDLOOP #ENDLOCAL#ENDLOCAL #ENDLOOP #REM#ENDREM
{Name} #IF(#SuperProduct OR NOT #DEFINED(#DefaultSubProduct)) #NameOrAlias #ELSE #NameOrAlias #ENDIF
{ItemNoShort} #Alias
{Image}
#IF(#IsNew){New}#ENDIF #IF(#ImageSmall) #IF(#SuperProduct OR NOT #DEFINED(#DefaultSubProduct)) #NameOrAlias #ELSE #NameOrAlias #ENDIF #ELSE
#ENDIF
{Price}
#LOCAL("TempOrderUnit","") #IF(#OrderUnit.Abbreviation)#SET("TempOrderUnit",#OrderUnit.Abbreviation) #ELSE#SET("TempOrderUnit",#OrderUnit.NameOrAlias)#ENDIF #LOCAL("ManufacturerPrice", #FUNCTION("MANUFACTURERPRICE", #Object, #INPUT.Currency, #Shop.TaxModel, #Session.User.Object)) #IF(#DEFINED(#ManufacturerPrice)) #IF(#Shop.ReferencePriceText)#Shop.ReferencePriceText[0]#ENDIF #IF(#Shop.CancelReferencePrice)#ManufacturerPrice[money]#ELSE #ManufacturerPrice[money]#ENDIF
#ENDIF #ENDLOCAL #SNIPPET("INC-DisplayPrice", "OrderUnitDisplayOption,EnableAsterisk", "Short", "1") #IF(NOT #IsAppointment AND #DisplayPrice)#SET("HasPrice", 1)#ENDIF #ENDLOCAL #LOCAL("ReferencePrice",#FUNCTION("REFERENCEPRICE", #Object, #DisplayPrice, #INPUT.Currency)) #IF(#ReferencePrice != #DisplayPrice)
#RefAmount #IF(#RefUnit.Abbreviation)#RefUnit.Abbreviation#ELSE#RefUnit.NameOrAlias#ENDIF = #ReferencePrice[money]
#ENDIF #ENDLOCAL #IF(#IsDailyPrice)
{IsDailyPriceSF}
#ENDIF
{Status} #IF(#IsAvailable AND (#SuperProduct OR NOT #DEFINED(#DefaultSubProduct))) #INCLUDE("INC-ProductStockLevelIcon") #ENDIF #IF(NOT #IsDeliveryTimeLonger AND #CanAddToBasket AND #DeliveryPeriod AND NOT #DeliveryPeriod == 0)

{DeliveryPeriod}: #DeliveryPeriod {DaysFuzzy}

#ENDIF  
#IF(#DisplayDeliveryWeight AND #Weight)

{Weight}: #Weight[float] #WeightUnit.Abbreviation

#ENDIF
#IF(NOT #Shop.ExclusiveAddToBasketButton) #IF(#SuperProduct OR NOT #DEFINED(#DefaultSubProduct))
#LOCAL("LinkOption","Icon")#INCLUDE("INC-BasketLink")#ENDLOCAL
#ELSIF(#DefaultSubProduct) #ENDIF #ENDIF
#Attribute.Name #LOCAL("AttributeValue", #GET(#AttributeAlias))#LOCAL("PathToFiles", #WebPath) #LOOP(#Class.Attributes)#IF(#ID == #MyAttributeID) #IF(#Attribute.Type EQ "PreDefMultiString" OR #Attribute.Type EQ "PreDefMultiLocalizedString") #LOOP(#AttributeValue) #ValueOrAlias
#ENDLOOP #ELSIF(#Attribute.Type EQ "PreDefCustomerString") #LOCAL("LastAttributeValueNo", #COUNT(#AttributeValue) - 1) #LOOP(#AttributeValue) #IF(#ItemNo)#IF(#ItemNo == #LastAttributeValueNo){or}#ELSE,#ENDIF #ENDIF#ValueOrAlias #ENDLOOP#ENDLOCAL #ELSIF(#Attribute.Type EQ "Boolean") #IF(#AttributeValue.Value.ValueOrAlias) {yes}#ELSE {no}#ENDIF #ELSIF(#Attribute.Type EQ "PreDefString" OR #Attribute.Type EQ "PreDefLocalizedString" ) #AttributeValue.Value.ValueOrAlias #ELSIF((#Attribute.Type EQ "File" OR #Attribute.Type EQ "LocalizedFile" )AND(#AttributeValue.Value.ValueOrAlias NE "")) {Download} #ELSIF(#Attribute.Type EQ "Money") #AttributeValue[money] #ELSIF(#Attribute.IsHTML) #AttributeValue.Value.ValueOrAlias[0] #ELSIF(#Attribute.Type EQ "Date") #AttributeValue[date] #ELSIF(#Attribute.Type EQ "Time") #AttributeValue[time] #ELSE #AttributeValue.Value.ValueOrAlias #ENDIF #ENDIF#ENDLOOP #ENDLOCAL#ENDLOCAL  
#IF(#HasPrice) #IF(#FUNCTION("DISPLAYPRICETAGINFOGROSS", #Object, #Shop.TaxModel, #Session.User.Object)) #IF(#Shop.PriceTagInfoMultiProductGross)
* #Shop.PriceTagInfoMultiProductGross[0]
#ENDIF #ELSIF(#Shop.PriceTagInfoMultiProductNet)
* #Shop.PriceTagInfoMultiProductNet[0]
#ENDIF #ENDIF #IF(#Shop.ShowPrintLink)

{PrintView}

#ENDIF #ENDLOCAL