SAP Commerce Cloud

Bring product data from directly into your components in Canvas with the SAP Commerce Cloud integration.

Uniform Mesh will fetch the product data, cache it, and deliver it along with the rest of the page content with the performance, reliability, and elastic scalability of an enterprise CDN.

This integration uses OCC V2 API to retrieve product data from your Commerce Cloud instance.

Before you start

You must have the following available to complete this setup:

  • An OCC V2 endpoint configured for SAP Commerce Cloud and available to be called externally by Uniform CDN infrastructure.
  • A Uniform account with administrator access. If you don't already have one, you can request an account at https://uniform.dev/try.
  1. In Uniform, open your project.

  2. Navigate to the Integrations tab.

  3. Scroll to the section Browse Integrations.

  4. Click SAP Commerce Cloud.

    add-integration-to-project
  5. Click Add to project.

    integration-added

A data connector is where you configure connection settings to SAP Commerce Cloud.

  1. Navigate to Experience > Data Types.

  2. Click Add data type.

  3. Select SAP Commerce Cloud > Create new...

    create-new
  4. For the API endpoint, specify the OCC V2 API endpoint of your SAP Commerce Cloud instance.

    For example: https://api.abcd-d1-public.model-t.cc.commerce.ondemand.com

  5. Enter the required settings below:

    FieldDescription
    Select your siteThe site with the products you want to access.
    Select default languageThe language of the products you want to access.
    Select default currencyThe currency you want product pricing information to be exposed using.
    NameA name that describes the connection.
    Public IDA value that uniquely identifies the connection.
  6. Click Save.

The SAP Commerce Cloud integration lets authors select one or more products to display in a web page. Archetypes allow you to control how authors identify the products they're interested in.

The following archetypes are supported:

NameDescription
Product QueryConfigure a dynamic product selection by providing search criteria. Typically used dynamic product lists, carousels, etc.
Product SelectorSelect a single product from your product catalog. Typically used in components displaying a single product data.
Multiple Product SelectorSelect multiple products from your product catalog. Typically used to created a curated list of products where users want to control the selection manually.

Each archetype supports the following settings:

NameDescription
Restrict product select from specific categoriesIf specified, the list of products displayed to the author is limited to products in the specified categories.
Use the following facets for product selectionIf specified, the author will be able to filter products by the specified facets.
Pick attribute to use for product image thumbnailIf specified, the specified image will appear next to each product in the list displayed to the author.
archetype-settings

Now that you know how to create data types for SAP Commerce Cloud, you are able to connect your component content in Canvas to these data types and bring any product content into your components without any code or developer effort.