php-sdk
php-sdk copied to clipboard
Unable to filter items
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?
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...