0

I'm using the WooCommerce REST API to search products by string.

Quick question: Is it possible to limit the REST API query ?search= to products names ? Currently it also searches the string in the descriptions.

2
  • Are you searching a custom post type named products with the wp/v2 API or are you searching WooCommerce products using the WooCommerce API? They're different APIs and the WooCommerce one is off-topic here. Mar 2, 2021 at 8:24
  • I'm searching WooCoomerce products using the WooCommerce API
    – JAGENI Nat
    Mar 2, 2021 at 16:38

0

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.