Thank you for supporting the Cloud Customer Connect Community in 2024. It's a gift to work with you!

Look back
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

How to Use Enhanced Search Response

edited Oct 29, 2019 5:01PM in Commerce

Summary

OCC search response is optimized for performance, returning only the most relevant SKU in the response.

Content

We have improved this further by adding configuration options that allow a developer to specify:

 

  • whether all SKUs should be returned: "maxChildRecords": -1
  • which product-level attributes should be returned: “attributes”
  • which SKU-level attributes should be returned: “childRecordAttributes”

 

These additional options are useful for returning all SKUs for each product and retrieving the color from each SKU to populate a product swatch, for example.

 

Also provides the ability to return all price properties for each SKU, and display more complex price information, so that merchants can display “from” and “to” prices for SKUs that are in stock, for example, and to be able to list all in-stock sizes beneath each product in the search results.

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!