Build Search

In this section we demonstrate how practical site search means better viability for returned products, which allows customers to quickly find the things they want. Since your products are inside of the index and the Coveo Catalog has been created, it’s time to surface these products in a search interface. This will translate into higher conversion rates, as customers who find what they seek are expected to make a purchase. Search is a rich interaction with shoppers, and learning from search terms is critical for merchandising and recommendations.

Integrate a Search Page

Integrating a Coveo search interface into your website allows users to easily retrieve and view results from your index. The leading practice is to use the Coveo JavaScript Search Framework[1], which provides a simple way to implement a full-featured search interface that includes machine-learning-ready usage analytics (see Integrate a Search Page Into Your Commerce Solution).

An alternative method is to use the new Headless Library.

Leverage Variants and Availabilities

For catalogs with product variants, or availability constrains, you’ll want to use the Coveo Catalog for variant attribute filtering. This part of the process considers proper facet association, how to properly query your commerce catalog content and product filters for a specific channel. Once all the above factors have been properly managed, the search interface attached to your query pipeline will only return products, but variant attributes will be available to create additional facets (see Leveraging Variants and Availabilities).

1. When using the JavaScript Search Framework isn’t an option, developers can achieve the same results using the APIs, but with significantly more work.
Recommended Articles