Templates

Completed

The templates are at the top of the e-Commerce page model hierarchy and represent an important early step for site configuration. The goal of the templates is to ensure consistency across layouts, pages, and languages, especially for retailers who want to ensure that design patterns are followed and repeated and that the design authors are not introducing various styles across the site.

For example, you might want every Buy button to look the same or every Product details page to have the same script for analytics purposes. Those constraints can be configured in the templates.

Templates give the marketers and page authors various module options, configurations, and arrangement options for downstream layouts. Therefore, they define different sets of modules to be highlighted and made available in specific use cases.

For example, when you want to create a marketing page, many modules will be irrelevant for this type of page, like checkout and account modules. Therefore, you can use a template to define and enforce the modules that can help your marketing page reach its goal.

Watch the following video for a demonstration of how to create a template in the site builder.

With templates, you can also preset or lock module option defaults, again with the purpose of streamlining the workflow for page authors.

For example, if you have locked certain content for options on modules, you will only need to change it once and then it will be updated on all pages and all layouts. This feature allows for centralized and efficient edits of your module defaults across many pages. For instance, if a retailer has hundreds of pages and wants to update the header or the company address in the footer, they can use this feature to lock the content, update it in one place, and to ensure that these updates are reflected everywhere.

Note

The templates do not contain localized content because it belongs in the site pages.