close

Filter

loading table of contents...

Studio User Manual / Version 2401

Table Of Contents

6.2.3.2 Adding CoreMedia Content Widget to Commerce System

The CoreMedia Content Widget is deployed into pages of the commerce system. There, it shows content delivered by the CMS system in pages delivered by the commerce system. You can use two approaches:

  • Use the widget to include content in existing pages, for example, product detail pages or categories

  • Connector for HCL Commerce specific feature

    Create two new pages in the HCL Commerce system that show content completely delivered by the CMS but with header and footer from the commerce system. For micro sites or complete articles, for instance.

  • Connector for SAP Commerce Cloud specific feature

    Create a new page in the SAP Hybris system that show content completely delivered by the CMS but with header and footer from the commerce system. For complete articles, for instance.

Adding Widget to Existing Pages

In order to connect a slot of a commerce layout with the CoreMedia system, proceed as follows.

  1. Open the layout/slot as described in the list, depending on your eCommerce system:

    • In the Commerce Composer of the HCL Management Center for WebSphere Commerce

    • In the WCMS Cockpit for SAP Commerce.

    • In the Salesforce Commerce Business Manager for Salesforce Commerce Cloud

  2. Set the Content Type field to "Content Asset" and enter slots/content/coremedia-content-widget-isml into the Template field.

    Add widget to slot in Salesforce

    Figure 6.22. Add widget to slot in Salesforce


    Add widget to slot in SAP Commerce

    Figure 6.23. Add widget to slot in SAP Commerce


    Add widget to Slot in Connector for HCL Commerce

    Figure 6.24. Add widget to Slot in Connector for HCL Commerce


  3. In the Coremedia section, add the CoreMedia placement name and view name to the respective fields. The placement name defines the name of the placement of a page from which the content will be taken and the view name defines how the content will be shown. You will get these values from your site administrator. If no placement name is set, then the whole content of the Augmented Category or Augmented Page will be taken.

    Configure CoreMedia Content Widget

    Figure 6.25. Configure CoreMedia Content Widget


Adding Widget to new Page
Note

HCL Commerce specific feature

Note

Note

The CoreMediaContentDisplay feature is only available, when the SEO-URL configuration of your HCL Commerce has been customized by your administrator.

The CoreMediaContentDisplay feature is only available, when the SEO-URL configuration of your SAP Hybris has been customized by your administrator.

You can use CoreMedia Content Cloud to show CoreMedia content, such as articles, or complete micro sites in the commerce context (see Section 6.2.3.7, “Adding CMS Pages or Articles to the Commerce System” for details). You need two different pages in the HCL Commerce system, one for each use case.

So, create a new page in the commerce system with a layout that contains only the CoreMedia Widget.

  1. Create a new Page in the HCL Commerce Composer, which define the URL keyword in the URL keyword field. This is "CoreMediaContentDisplay".

    Creating page for Content Display

    Figure 6.26. Creating page for Content Display


  2. Create a new layout and connect it with the page created in step one.

  3. Define a slot and place the CoreMedia Content Widget into the slot. For the CoreMediaContentDisplay layout, no property settings, except the Widget Name, are required in the widget

Now, you can add, for example, an article to a collection which is shown in a commerce category overview page. The article is shown as a teaser. When a user clicks the teaser, then, the article will be shown in its own page.

Search Results

Table Of Contents
warning

Your Internet Explorer is no longer supported.

Please use Mozilla Firefox, Google Chrome, or Microsoft Edge.