0

Why can't sfcc use html directly instead of isml. One reason I can see is to display dynamic content. But I wanted to know is there any other specific reason for it

Psn
  • 1
  • 1

2 Answers2

0

using isml for templating sfcc allows the developer to do the following:

  • determine how B2C Commerce embeds live data into a page
  • determine how to format this data together with the regular HTML code

one more thing, is the huge utility of tags, helpers and commands that allows the developer to deal with different data models and views

aabumousa
  • 66
  • 2
0

The most basic difference:

  • 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.
  • The HyperText Markup Language or HTML is the standard markup language for documents designed to be displayed in a web browser. It can be assisted by technologies such as Cascading Style Sheets (CSS) and scripting languages such as JavaScript.(Static pages)

Ref:

  1. https://en.wikipedia.org/wiki/HTML
  2. https://documentation.b2c.commercecloud.salesforce.com/DOC2/topic/com.demandware.dochelp/content/b2c_commerce/topics/site_development/b2c_working_with_templates.html