#IF(#INPUT.ViewAction NE "ViewProductPrint" AND #COUNT(#SubProducts))#LOCAL("HasPrice", 0)
#LOCAL("CurrentSubProductPath",#Path) #LOCAL("VariationsCount",1) #LOOP(#SubProducts) #IF(#IsVisible) #IF ((#VariationsCount%4)NEQ 0)#SET("VariationsCount", 0)#ENDIF #SET("VariationsCount", #VariationsCount+1) #ENDIF #ENDLOOP #IF (#VariationsCount NNE 1) #IF(#VariationsCount NEQ 2)#ENDIF #IF(#VariationsCount NEQ 3)#ENDIF #IF(#VariationsCount NEQ 4)#ENDIF #ENDIF #ENDLOCAL #ENDLOCAL
{ProductVariations}
#IF(#ImageSmall)#JOIN(#ELSE#ENDIF
#JOIN("
",#VariationTypeValues)#LOCAL("AttributeValue",#GET(#Attribute.Alias))#Attribute.NameOrAlias: #AttributeValue.ValueOrAlias#ENDLOCAL#ENDJOIN
#IF(#Shop.FeatureMaxValue.Basket) #LOCAL("DisplayPrice",#FUNCTION("DISPLAYPRICE", #Object, #INPUT.Currency, #Shop.TaxModel, #Session.User.Object))
#IF(#DEFINED(#DisplayPrice)) #SNIPPET("INC-DisplayPrice", "OrderUnitDisplayOption,EnableAsterisk,NoVariationPriceFromText", "Short", "1", "1") #SET("HasPrice", 1) #ENDIF
#ENDLOCAL
#LOCAL("LinkOption","NoOption")#INCLUDE("INC-BasketLink")#ENDLOCAL
#ENDIF #IF(#IsAvailable)
#INCLUDE("INC-ProductStockLevelIcon")
#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 #ENDLOCAL#ENDIF