#LOCAL("DisplayFeature", #FUNCTION("FeaturedActionAvailable", #Shop.Object, #UNDEF, "Accessory"))#IF(#DisplayFeature NE "NotVisible")
#IF(#Shop.FeatureMaxValue.Accessory)
#LOCAL("DisplayFeature", #FUNCTION("FeaturedActionAvailable", #Shop.Object, #UNDEF, "Accessory"))#IF(#DisplayFeature NE "NotVisible")
{Accessory}
#IF(#SuperProduct)
(#CALCULATE(#COUNT(#SuperProduct.Accessory)+#COUNT(#SubProductAccessory)))
#ELSE
(#COUNT(#Accessory))
#ENDIF
#ENDIF#ENDLOCAL
#ELSE
#LOCAL("DisplayFeature", #FUNCTION("FeaturedActionAvailable", #Shop.Object, #UNDEF, "Accessory"))#IF(#DisplayFeature NE "NotVisible")
{Accessory}
#ENDIF#ENDLOCAL
#ENDIF
#ENDIF#ENDLOCAL
#LOCAL("DisplayFeature", #FUNCTION("FeaturedActionAvailable", #Shop.Object, #UNDEF, "ManualCrossSelling"))#IF(#DisplayFeature NE "NotVisible")
#IF(#Shop.FeatureMaxValue.ManualCrossSelling)
{Complementaries}
#IF(#SuperProduct)
(#CALCULATE(#COUNT(#SuperProduct.CrossSelling)+#COUNT(#SubProductCrossSelling)))
#ELSE
(#COUNT(#CrossSelling))
#ENDIF
#ELSE
{Complementaries}
#ENDIF
#ENDIF#ENDLOCAL
#LOCAL("DisplayFeature", #FUNCTION("FeaturedActionAvailable", #Shop.Object, #UNDEF, "ProductComparison"))#IF(#DisplayFeature NE "NotVisible")
#IF(#Shop.FeatureMaxValue.ProductComparison)
{ProductComparison}
#IF(#SuperProduct)
(#CALCULATE(#COUNT(#SuperProduct.ProductComparison)+#COUNT(#SubProductComparison)))
#ELSE
(#COUNT(#ProductComparison))
#ENDIF
#ELSE
{ProductComparison}
#ENDIF
#ENDIF#ENDLOCAL
{References}
(#CALCULATE(#COUNT(#IncludedInBundles) + #COUNT(#IncludedInAccessory) + #COUNT(#IncludedInComplementary) + #COUNT(#IncludedInProductComparison)))