AnsweredAssumed Answered

FilterElements

Question asked by Gilo on Mar 17, 2015
Latest reply on Mar 17, 2015 by Gilo

Title

FilterElements

Post

Hi

I have a Let Script where I need some help

Let (isempty (Filter(product:type = "Premium Classic") /= 1 ; 2;
isempty (Filter(product:type = "Premium Select") /= 1 ; 2 ;

isempty (Filter(product:type = "Premium Premium") /= 1 ; 2 ;
0)

/= means ISNOT
Is it not possible to tell FM to Filter for Words starting with premium, no matter what come behind?

And if FM finds that 2 Filters are not empty, it returns 0??? But should return 2!!!

thx

Outcomes