#IF(#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,1))
#IF(#DEFINED(#DisplayPrice)) #SNIPPET("INC-DisplayPrice", "OrderUnitDisplayOption,EnableAsterisk,NoVariationPriceFromText,PriceFormatter", "Short", "1", "1", "money") #SET("HasPrice", 1) #ENDIF
#ENDLOCAL #IF(#ProductDataSheet)
#SNIPPET("SNIPPET-ProductDataSheet")
#ENDIF
#LOCAL("LinkOption","NoOption")#INCLUDE("INC-BasketLink")#ENDLOCAL #ENDIF #IF(#IsAvailable) #INCLUDE("INC-ProductStockLevelIcon")
#ENDIF
#IF(#HasPrice AND (#Shop.PriceTagInfoMultiProductGross OR #Shop.PriceTagInfoMultiProductNet OR #Shop.PriceTagInfoMultiProductTaxFree))
#INCLUDE("Explanation-INC-Product-Price")
#ENDIF #ENDLOCAL#ENDIF