Do you like cookies? πͺ We use cookies to ensure you get the best experience on our website. Learn more
Templates
B2C Commerce uses ISML templates to generate dynamic storefront pages. Templates combine HTML with a proprietary language extension called Internet Store Markup Language (ISML). An ISML template consists of standard HTML markup, ISML tags, and script expressions. ISML templates are similar to Java Server Pages in that both are used to present dynamically generated web content.
Note: ISML templates do not support JSP syntax or
directives.
- How Templates Work
Templates convert the result of business processes (for example, product details) into a response that can be returned to the client (for example, a list of product specifications and an image). - Template Best Practices
Building a secure custom website with Salesforce B2C Commerce requires paying attention to all areas that are vulnerable to attack and preventing it. - Salesforce Commerce Cloud D2C: Quick Start Guide
Learn how to build, customize, and launch a fully functional D2C store using Salesforce Commerce Cloud. From initial setup to branding, product configuration, and checkout optimization, this course will equip you with the skills to go live fast and scale. - Page Content from Templates
Templates let you separate page content into static and dynamic. - Page Caching in Templates
Page caching is when pages (or parts of pages) are stored for immediate browser display, without having to call the server. - Templates and the Pipeline Dictionary
When a controller or a pipeline is processed, the Pipeline Dictionary accepts and stores parameters in key-value pairs. A template can show only the dynamic information that is stored in the Pipeline Dictionary at the time the template is called. - JQuery in ISML Templates
jQuery is frequently used in ISML templates. B2C Commerce supports versions up to and including jQuery 1.3.2. - Template Debugging
Determining which template is causing an issue requires knowing the template name. The process of determining the name depends on whether the template is static or dynamic. - Content Cache
Configure caching to improve your site's overall performance and can minimize customer wait time. - ISML
B2C Commerce ISML tags are extensions of the tag-based language conforming to SGML standards. They are commands inserted into a document that determine how B2C Commerce embeds live data into a page, and how to format this data together with the regular HTML code. - Utility Functions
B2C Commerce includes utility functions used frequently in templates. See the B2C Commerce Script API documentation for more information. - Salesforce Javascript Developer I - Certification Tests
Not just another prep courseβthis is your shortcut to passing. Tackle 80+ handpicked questions, plus a final timed test that mirrors the real exam. Master JavaScript for Salesforce and go from 'hoping to pass' to knowing you will. Ready to start?
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.