#IF(#COUNT(#SubProducts) AND #INPUT.ViewAction NE "ViewProductPrint") #LOCAL("HasPrice", 0) #LOCAL("NeedStockLevelColumn",0) #LOOP(#SuperProduct.SubProducts)#IF(#IsVisible AND #DEFINED(#StockLevel) AND NOT(#StockLevel EQ "") AND #IsAvailable)#SET("NeedStockLevelColumn",1)#ENDIF#ENDLOOP

{Choice}: #IF(#SuperProduct)#SuperProduct.NameOrAlias#ELSE#NameOrAlias#ENDIF

#LOOP(#VariationTypeValues) #ENDLOOP #IF(#NeedStockLevelColumn)#ENDIF #IF(#Shop.FeatureMaxValue.Basket)#ENDIF #LOCAL("Alternate", 0) #LOCAL("CurrentSubProductPath",#Path) #LOOP(#SubProducts) #IF(#IsVisible) #LOCAL("DisplayPrice",#FUNCTION("DISPLAYPRICE", #Object, #INPUT.Currency, #Shop.TaxModel, #Session.User.Object)) #SET("Alternate", 1 - #Alternate) #JOIN("",#VariationTypeValues) #LOCAL("AttributeValue",#GET(#Attribute.Alias)) #ENDLOCAL #ENDJOIN #IF(#NeedStockLevelColumn) #ENDIF #IF(#Shop.FeatureMaxValue.Basket) #ENDIF #ENDLOCAL #ENDIF #ENDLOOP #ENDLOCAL #ENDLOCAL
{ItemNoShort}#Attribute.NameOrAlias{Status}{Price}
#Alias #AttributeValue.ValueOrAlias #IF(#IsAvailable) #INCLUDE("INC-ProductStockLevelIcon") #ENDIF #IF(#DEFINED(#DisplayPrice)) #SNIPPET("INC-DisplayPrice", "OrderUnitDisplayOption,EnableAsterisk,NoVariationPriceFromText", "Short", "1", "1") #SET("HasPrice", 1) #LOCAL("ReferencePrice",#FUNCTION("REFERENCEPRICE", #Object, #DisplayPrice, #INPUT.Currency))#IF(#DEFINED(#ReferencePrice) AND #DEFINED(#DisplayPrice) AND #ReferencePrice != #DisplayPrice)
#RefAmount #IF(#DEFINED(#RefUnit.Abbreviation))#RefUnit.Abbreviation#ELSE#RefUnit.NameOrAlias#ENDIF = #ReferencePrice[money]
#ENDIF #ENDLOCAL #ENDIF
#LOCAL("LinkOption","Icon")#INCLUDE("INC-BasketLink")#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 #ENDLOCAL #ENDLOCAL #ENDIF