SmartEdit and SAP Commerce Cloud

SAP Commerce Cloud SmartEdit is a management solution for web content that enables organizations to create relevant, personalized, and exceptional storefront experiences.

When you configure the Commerce Cloud manifest to include SmartEdit, all features and functionality are available. To learn more about what's included in SmartEdit, see SmartEdit Features .

Local Development Environment

You can set up a local development environment to test SmartEdit configurations. The instructions for installing the development environment are described in Getting Started with SmartEdit.

SmartEdit Customization in SAP Commerce Cloud

SAP Commerce Cloud and SAP Commerce Cloud don't ship all of the required libraries and directories. In your local environment, you need to execute the ant build command under the smartedittools extension, to download the development and runtime dependences. The dependences are listed in the package.json file which is under apps of all your customization extensions.

Front-end extensions have a dependency on the node_modules directory. There’s a macro in the buildcallbacks.xml file that executes the command to build the front-end extensions.

After you make the customization updates, create a build in SAP Commerce Cloud. The customizations you completed allow SmartEdit to apply resources from your customized extension. For more information, see Customizing SmartEdit in SAP Commerce Cloud.

Limitations

The smartedittools extension also includes the smartedittools/common/config/pnpm-lock.yaml file. This file lists the versions of all libraries and ensures that each build is reproducible. Don't modify the package.json or the pnpm-lock.yaml file. Modifying these files impacts the build in SAP Commerce Cloud and can cause build failures.

Don't execute any npm commands from your custom extensions–either manually or programmatically.To install your dependencies listed in your package.json, you only need to run the ant build command under the smartedittools folder.