I am working on a page for search Woocommerce products with the REST API. But I have a question about how I can search on keywords.

Product 1: Milkshake vanille / apple Product 2: Milkshake

If I use the keyword milkshake get both products if I search on milkshake vanille get only product 1.

I tried this: https://www.example.com/wp-json/wc/v3/products?filter[s]={{milkshake, vanille}}';

But I get 10 product back also products without the right keywords.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.