cancel
Showing results for 
Search instead for 
Did you mean: 

Product search by partial SKU/Name

0 Kudos

Product search by partial SKU/Name

For Example, we have below SKU's.
DZ5321, DZ5321-EC, DZ5321-60, DZ5321-SC

When I search keyword 5321 in the search box I need above all SKUs in the result. If we search the DZ then also I need above all SKUs in the result.

For another example, "simpleproduct" if we search with simple or product for every situation, we need simpleproduct as search result.

In the below search graphQl.

{
products(
  search :  "5321"
  sort : { position : ASC } pageSize : 100, 
  currentPage : 1
)
{ total_count items 
  {
    sku
    name
  }
 }
}