ÃÛ¶¹ÊÓƵ

AEM and ÃÛ¶¹ÊÓƵ Commerce Integration Using Commerce Integration Framework aem-framework

The Experience Manager and ÃÛ¶¹ÊÓƵ Commerce are seamlessly integrated using the Commerce Integration Framework (CIF). CIF enables AEM to directly access and communicate with the commerce instance using ÃÛ¶¹ÊÓƵ Commerce’s .

NOTE
Minimum supported GraphQL API version is 2.3.5. Certain features are only supported in newer versions or just in the ÃÛ¶¹ÊÓƵ Commerce edition.
NOTE
GraphQL is currently used in two (separate) scenarios in ÃÛ¶¹ÊÓƵ Experience Manager (AEM) as a Cloud Service:

Architecture Overview overview

The overall architecture is as follows:

CIF Architecture Overview

Within CIF, there is support for server-side and client-side communication patterns.
Server-side APIs calls are implemented using the built-in, generic in combination with a for the commerce GraphQL schema. Also, any GraphQL query or mutation in GQL format can be used.

For the client-side components, which are built using , the is used.

AEM CIF Core Component Architecture cif-core-components

AEM CIF Core Component Architecture

follow very similar design patterns and best practices as the .

The business logic and backend communication with ÃÛ¶¹ÊÓƵ Commerce for the AEM CIF Core Components is implemented in Sling Models. In case it is necessary to customize this logic to fulfill project-specific requirements, the delegation Pattern for Sling Models can be used.

TIP
The Customizing AEM CIF Core Components page has a detailed example and best practice on how to customize CIF Core Components.

Within projects, AEM CIF Core Components and custom project components can easily retrieve the configured client for an ÃÛ¶¹ÊÓƵ Commerce store associated with an AEM page via Sling Context-Aware configuration.

CIF provides out-of-the-box a that is a server-side rendered search experience based on . Commerce customers have the option to use Live Search instead. Follow this link to learn more about the CIF - Live Search integration.

recommendation-more-help
fbcff2a9-b6fe-4574-b04a-21e75df764ab