Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

After upgrade I can't filter on sku anymore #300

Open
DAThosting opened this issue Apr 27, 2021 · 0 comments
Open

After upgrade I can't filter on sku anymore #300

DAThosting opened this issue Apr 27, 2021 · 0 comments

Comments

@DAThosting
Copy link

DAThosting commented Apr 27, 2021

After upgrading WC (to 5.2.2) today, I can't filter on sky anymore.

My PHP:
$woocommerce->get('products', array('sku' => '123456'));

I get a empty array back.
Before upgrading all my informations where stored in the array itself?!

The product itself is available and can be viewed via:
$woocommerce->get('products/125');

But I need to get products via sku.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant