close

Filter

loading table of contents...

Connector for SAP Commerce Cloud Manual / Version 2110

Table Of Contents

3.1 Adding the CoreMedia Extensions to your Hybris Project Workspace

CoreMedia Content Cloud comes with the Hybris workspace archive Zip file, which has to be applied to your Hybris Project Workspace. The Hybris workspace archive includes the following sub folders:

  • The folder cmlivecontext contains an yacceleratorstorefront add-on. It provides the CoreMedia Content Widget, the CoreMedia Fragment Connector and essential and demo data.

  • The folder cmoccaddon contains an yacceleratorstorefront add-on. It provides additional custom OCC controllers to read product and category data, optimized for use with CoreMedia Commerce Hub. The addon will be used for SAP Hybris 1905.

  • The folder cmocc contains a commercewebservices extension. It replaces the previously necessary cmoccaddon and complies with the new SAP Hybris standard since version 2005. It provides additional custom OCC controllers to read product and category data, optimized for use with CoreMedia Commerce Hub.

  • The folder versions contains for each supported Hybris version a dedicated folder $YOUR_VERSION/custom which contains configuration and JSP tags, which need to be applied to other extensions of the Hybris Project Workspace. Use the $YOUR_VERSION folder corresponding to the version you are using. In the following the folder will be referred to as the "global files folder". If your concrete minor version is not included, there is a chance to adapt the affected files for yourself. Start with the vanilla version of each file and find the right place to add the CoreMedia extensions. They are all marked as "CoreMedia extensions" in the included examples.

Steps for your SAP Hybris 2105 workspace:

  1. Copy the cmlivecontext and cmocc folders to your Hybris Project Workspace below $HYBRIS_HOME/bin/custom

  2. Take the file versions/YOUR_VERSION/custom/hybris/configlocalextensions.xml from the Workspace for SAP Commerce Cloud and copy all the extensions marked with a comment of the format <!-- CoreMedia required extensions--> into your Hybris localextensions.xml file.

  3. Register the add-ons provided by CoreMedia and rebuild the workspace with the following commands:

            # cd $HYBRIS_HOME/bin/platform
            # . ./setantenv.sh
            # ant addoninstall -Daddonnames="cmlivecontext" -DaddonStorefront.yacceleratorstorefront="yacceleratorstorefront"
            # ant clean all
          

Search Results

Table Of Contents
warning

Your Internet Explorer is no longer supported.

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