#LOCAL("PremiumDisplayFeature", #FUNCTION("FeaturedActionAvailable", #Shop.Object, #UNDEF, "FactFinderPremium")) #LOCAL("LightDisplayFeature", #FUNCTION("FeaturedActionAvailable", #Shop.Object, #UNDEF, "FactFinderLight")) #IF(#System.FactFinder_Enabled AND (#PremiumDisplayFeature EQ "Allowed" OR #LightDisplayFeature EQ "Allowed")) {FactFinderSearch} #ELSE {FactFinderSearch} #ENDIF #IF(#PremiumDisplayFeature EQ "NotVisible" AND #LightDisplayFeature EQ "NotVisible") #ENDIF #ENDLOCAL #ENDLOCAL