iscomment Element

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

Use <iscomment> to document your templates, to include reminders or instructions for yourself and others who work with the system without making them available to anyone who "views source" on the page. 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>