php-sdk icon indicating copy to clipboard operation
php-sdk copied to clipboard

Unable to filter items

Open AlessioGiacobbe opened this issue 7 years ago • 1 comments

Hi! I'm having some problems trying to filter products on my moltin-based website. as told in the documentation i use : $result = $moltin->products->filter([ 'has' => ['name' => $query] ])->all()->data(); to get all products that contains $query, but i get an empty result. Is it a bug?

AlessioGiacobbe avatar Jul 02 '17 14:07 AlessioGiacobbe

Hi @AlessioGiacobbe - this is an issue with the API rather than the SDK. I'll keep this open so I can notify you when it's resolved...

andrew-waters avatar Jul 31 '17 10:07 andrew-waters