To get started using Live Search for Adobe Commerce, complete the onboarding process to install the extension, configure your API keys, and synchronize your catalog.
Live Search communicates through the endpoint at https://catalog-service.adobe.io/graphql
.
Currently, the Live Search search/category API has the following supported limits and static boundaries:
To restrict customer groups using Catalog permissions:
Live Search customers can use the new SaaS price indexer, which provides faster price change updates and synchronization time.
Live Search works with PWA Studio but users may see slight differences compared to other Commerce implementations. Basic functionality such as search and product listing page work in Venia but some permutations of Graphql may not work correctly. There may also be performance differences.
description
, name
, short_description
is not supported by GraphQL when used with PWA, but they are returned with a more general filter.To use Live Search with PWA Studio, integrators must also:
Install livesearch-storefront-utils.
Set the environmentId
in the storeDetails
object.
const storeDetails: StoreDetailsProps = {
environmentId: <Storefront_ID>,
websiteCode: "base",
storeCode: "main_website_store",
storeViewCode: "default",
searchUnitId: searchUnitId,
config: {
minQueryLength: 5,
pageSize: 8,
currencySymbol: "$",
},
};
Live Search collects user interaction data as part of its base functionality and cookies are used to store this data. When collecting any user information, the user must agree to store cookies. Live Search and Product Recommendations share the data stream and therefore the same cookie mechanism. Read more about it in Handle Cookie Restrictions.