Salesforce B2C Commerce 23.5 > Developing Your Site > Development Components > Templates > ISML

iscomment Element

Document your templates and include reminders or instructions for yourself and others who work with the system that are not available to anyone who "views source" on the page.

Syntax

<iscomment> 
  ...
</iscomment>

The alternative usage of the following has been deprecated as of 03/06/2009.

<!---  --->
Note: We recommend that you use the standard <iscomment> syntax. However, using this syntax doesn't cause a failure.

Purpose

Anything enclosed in an <iscomment>... </iscomment> structure isn't parsed by the template processor and doesn't appear in the generated storefront page.

HTML comments created by surrounding the text with the character strings <!-- and --> are now deprecated. This is because this commenting method provides no confidentiality. Anyone can use a browser's View | Source menu to see the HTML code, including the comments.

Example

<iscomment>
This comment isn't sent to the browser and isn't visible in the page source.
</iscomment>
X Privacy Update: We use cookies to make interactions with our websites and services easy and meaningful, to better understand how they are used. By continuing to use this site you are giving us your consent to do this. Privacy Policy.