close

Filter

loading table of contents...

Studio User Manual / Version 2107

Table Of Contents

6.2.3.10 Replacing Commerce Images in Categories with CMS Images

CoreMedia Content Cloud allows you to manage images in the CoreMedia system for categories of the commerce system. The mechanism and steps are equivalent to the product image management feature as described before. With the Connector for Salesforce Commerce Cloud and Connector for SAP Commerce Cloud, you simply have to link a Category to a Picture item.

Connector for HCL Commerce specific configuration

First you have to link a Category to a Picture item and afterwards you have to add a specific URL to the category definition in the commerce system.

Add the following CoreMedia URL formats to the category definition in HCL Commerce:

http://<cmshost>:<cmsport>/blueprint/servlet/catalogimage/category/<storeId>/en_US/thumbnail/<category_code>.png
http://<cmshost>:<cmsport>/blueprint/servlet/catalogimage/category/<storeId>/en_US/full/<category_code>.png
Note

Note

HCL Commerce supports multiple image URLs for products in an extended sites environment. That means that you can specify a dedicated image URL per product and per site although the catalog is shared between different sites.

On the other hand it is not supported to override image URLs for categories in an extended sites environment. That means that the same image URL is used for all sites. You can add a [storeId] placeholder to image URLs which is dynamically replaced with the storeId-value of the current site at runtime. The image URL format looks like this:

http://myHost:40080/blueprint/servlet/catalogimage/category/[storeId]/en_US/thumbnail/myCategoryCode.png

Please note, that for [storeId] resolution the following feature described in Section 6.6.4.2, “Placeholder Resolution for Asset URLs” in Blueprint Developer Manual must activated.

Search Results

Table Of Contents
warning

Your Internet Explorer is no longer supported.

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