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

{Accessory}

#IF(#Shop.ShowAvailabilityIcons) #ENDIF #IF(NOT #Shop.ExclusiveAddToBasketButton) #ENDIF #LOCAL("Alternate", 0) #LOCAL("HasPrice", 0) #LOOP(#VisAccessory) #WITH(#TargetProduct) #LOCAL("DisplayPrice", #UNDEF) #IF(#IsMaster) #SET("DisplayPrice", #DISPLAYPRICE(#Object, #INPUT.Currency, #Shop.TaxModel, #Session.User.Object, 0)) #ELSE #SET("DisplayPrice", #DISPLAYPRICE(#Object, #INPUT.Currency, #Shop.TaxModel, #Session.User.Object, 1)) #ENDIF #SET("Alternate", 1 - #Alternate) #IF(#Shop.ShowAvailabilityIcons) #ENDIF #IF(NOT #Shop.ExclusiveAddToBasketButton) #ENDIF #ENDLOCAL #ENDWITH #ENDLOOP #ENDLOCAL #ENDLOCAL
{Product} {Notification}{Status}{Price}
#IF(#DefaultSubProduct AND NOT #SuperProduct) #ELSE #ENDIF #IF(#TargetProduct.ImageThumbnail OR #TargetProduct.ImageSmall) #NameOrAlias #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 #IF(#IsMaster) #SNIPPET("INC-DisplayPrice", "OrderUnitDisplayOption,EnableAsterisk", "Short", "1") #ELSE #SNIPPET("INC-DisplayPrice", "OrderUnitDisplayOption,EnableAsterisk,NoVariationPriceFromText", "Short",1 , 1) #ENDIF #IF(#DisplayPrice)#SET("HasPrice", 1)#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(#IsAvailable) #IF(NOT #DefaultSubProduct OR #SuperProduct) #LOCAL ("LinkOption","Icon") #IF(NOT (#SuperProduct.IsCustomizable OR (NOT #SuperProduct AND #IsCustomizable)))#INCLUDE("INC-BasketLink")#ENDIF #ENDLOCAL #ELSIF(#DefaultSubProduct) #ENDIF #ENDIF #IF(#DisplayDeliveryWeight AND #Weight)
{Weight}: #Weight[float] #WeightUnit.Abbreviation
#ENDIF
#IF(#HasPrice) #IF(#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 #ENDLOCAL #ENDBLOCK