Customizing SmartEdit in SAP Commerce Cloud

To customize SmartEdit in SAP Commerce Cloud, add the customsmartedit extension to your SAP Commerce Cloud project.

Prerequisites

  • You have a local development environment. For more information, see Getting Started with SmartEdit.

  • Create the customsmartedit extension from ysmarteditmodule.

Procedure

  1. Build and test your customsmartedit extension in your local development environment.
  2. If it does not already exist, create a SAP Commerce Cloud configuration project in your Git repository. For example, create my-commerce-git-repository.
  3. In the SAP Commerce Cloud configuration project, create a subfolder named core-customize.
  4. In the core-customize folder, add a configuration file and name it manifest.json. This example shows the resulting structure of the configuration project:
    my-commerce-git-repository/
          /core-customize/
             /manifest.json
             /customsmartedit
    

    For more information on the manifest file, see SmartEdit Manifest Example.

  5. Push all individual source files that overwrite OOTB and all customized SmartEdit extensions to the SAP Commerce Cloud repository.
  6. To include your SmartEdit customizations, run a new Commerce build without using the ant npminstall command