ÃÛ¶¹ÊÓÆµ

Commerce Multi-Store Setup multi-store

The AEM CIF Core Components can be used on multiple AEM site structures and the underlying GraphQL client implementation can connect to different ÃÛ¶¹ÊÓÆµ Commerce stores / store views. This allows projects to implement complex multi-store / multi-site setups.

A video walkthrough detailing options for integrating multiple ÃÛ¶¹ÊÓÆµ Commerce Store Views with ÃÛ¶¹ÊÓÆµ Experience Manager Sites.

video poster

AEM Multi-Site Management features of Live Copy and Language Copy are used with the Commerce Integration Framework to globally manage sites across regions and locales.

The recommended setup is to use a 1:1 relationship between the AEM site and the ÃÛ¶¹ÊÓÆµ Commerce store view.

To connect an AEM site and AEM CIF Core Components so too to a dedicated store view, follow the steps below:

Configuration configuration

  1. Configure multiple stores & store views according to the pattern described in ÃÛ¶¹ÊÓÆµ Commerce Websites, Stores & Views

  2. Make sure the connection between AEM & ÃÛ¶¹ÊÓÆµ Commerce is working.

  3. Create a child configuration of the CIF Cloud Service config following these steps:

    • In AEM go to Tools > General > Configuration Browser
    • Select the base configuration that you created
    • Create a configuration using the steps described at point 2 above

    This new configuration is created as a child configuration of the base one. You can now go to Tools > General > Configuration Browser and create the configuration settings.

    note tip
    TIP
    Commerce catalogs can be addressed by using IDs or UIDs. UIDs got introduced in ÃÛ¶¹ÊÓÆµ Commerce 2.4.2. Only enable this if your commerce backend supports a GraphQL schema of version 2.4.2 or later.
  4. Assign the child configuration to an AEM site

    • Go to the AEM Sites console
    • Navigate to the region or language root of your site structure, for example, /content/venia/us or /content/venia/us/en for the Venia sample page
    • Select the page and open the page properties
    • Select the Advanced tab
    • In the Configuration section, select the configuration that you created at step

Additional Resources

recommendation-more-help
19ffd973-7af2-44d0-84b5-d547b0dffee2