search query doesn’t have all the results

[ad_1]

When I am querying products with the WPGraphQL plugin, it looks like the “search” parameter only searches through the names of the products, nothing else. I also need it to search through variants.

Here is an example. If I have a variable product with the name “Nike Air Max 90” and an attribute Catalog Number with the value “123456”, I can use the search parameter with queries like “Nike” or “Air Max” and this product will show up in the results. But if I use the query “123456” the product will not show up.

Is there any way to extend what the search parameter searches through?

The page I need help with: [log in to see the link]

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer