Scripts
B2C Commerce provides a proprietary scripting language that the server interprets and includes in storefront pages as JavaScript.
- Supported Data Types
B2C Commerce script supports data types that allow you to integrate extensive functionality into your scripts. - Custom Code Timeouts
We provide script timeouts to protect storefronts. For example, if you accidentally create an endless loop, the loop can cause massive thread exhaustion and require a restart of the instance. - Script Debugger API
The Script Debugger API is a JSON-based set of requests and responses that are managed using a REST servlet. - B2C Commerce Script Modules
You can access JavaScript/B2C Commerce script modules within your storefront script code. - Script Programming
Use B2C Commerce JavaScript to customize your ecommerce storefront application.
Infocenter Retirement: On June 30, 2023, the Infocenter was retired, and documentation currently hosted on the Infocenter will be published to Salesforce Help, Commerce Cloud Developer Center, and Salesforce B2C Commerce Developer Documentation Resources. For more information, see the release note.