#BLOCK("CachedInclude", #Object, "SF-Product.Content-Accessory" . #CacheIncludesPrices, NOT #Shop.ShowCustomerSpecificPrices) #LOCAL("VisAccessory", #VisibleAccessory) #IF(#Shop.FeatureMaxValue.Accessory AND #COUNT(#VisAccessory))

{Accessory}

#LOCAL("Alternate", 0) #LOCAL("HasPrice", 0) #LOOP(#VisAccessory) #WITH(#TargetProduct) #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 #SET("Alternate", 1 - #Alternate) #ENDLOCAL #ENDWITH #ENDLOOP #ENDLOCAL #ENDLOCAL
{Product} {Notification} {Status} {Price}
#IF(#TargetProduct.ImageThumbnail OR #TargetProduct.ImageSmall) #ENDIF
#IF(#DefaultSubProduct AND NOT #SuperProduct) #ELSE #ENDIF #NameOrAlias #IF(#Shop.IsProdutNoVisible)
{ItemNoShort}: #Alias #ENDIF #IF(#SuperProduct)
(#JOIN(", ",#VariationTypeValues)#LOCAL("AttributeValue",#GET(#Attribute.Alias))#Attribute.NameOrAlias#SPACE[0]: #AttributeValue.ValueOrAlias#ENDLOCAL#ENDJOIN) #ENDIF
#Comment #IF(#IsAvailable) #IF(NOT #DefaultSubProduct OR #SuperProduct) #INCLUDE("INC-ProductStockLevelIcon") #ENDIF #ENDIF #SNIPPET("INC-DisplayPrice", "OrderUnitDisplayOption,EnableAsterisk", "Short", "1") #IF(#DisplayPrice)#SET("HasPrice", 1)#ENDIF #LOCAL("ReferencePrice",#FUNCTION("REFERENCEPRICE", #Object, #DisplayPrice, #INPUT.Currency))#IF(#ReferencePrice != #DisplayPrice)
#RefAmount #IF(#DEFINED(#RefUnit.Abbreviation))#RefUnit.Abbreviation#ELSE#RefUnit.NameOrAlias#ENDIF = #ReferencePrice[money]
#ENDIF #ENDLOCAL
#IF(#IsAvailable) #IF(NOT #DefaultSubProduct OR #SuperProduct) #LOCAL ("LinkOption","Icon")#INCLUDE("INC-BasketLink") #ENDLOCAL #ELSIF(#DefaultSubProduct) #ENDIF #ENDIF #IF(#DisplayDeliveryWeight AND #Weight)
{Weight}: #Weight[float] #WeightUnit.Abbreviation
#ENDIF
#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 {AllAccessory}

#ENDIF #ENDLOCAL #ENDBLOCK