Using placeholders of Customer Store
A placeholder is a container for a specific data type, and it allows inserting data or interface elements in UI templates. Using placeholders simplifies the content management of the Customer Sore pages (see Managing information and auto-generated pages UI templates).
To use tags in placeholders, add | safe after the placeholder.
For example, for the product benefits in the Product showpage UI template:
<p>{{ benefit.description }}</p>
specify
<p>{{ benefit.description | safe }}</p>
By the application area, placeholders are divided into two classes:
- Global placeholders that can be used in all UI templates.
- Local placeholders that can be used only in a specific UI template.
By the data type, placeholders are divided into the following classes:
- Placeholders for insertion of metadata, styles, and scripts
- Placeholders for insertion of navigation elements (menu)
- Placeholders for insertion of reseller information
- Placeholders for insertion of product information in the catalog page
- Placeholders for insertion of product information in the category page
- Placeholders for insertion of product information in the product page
- Placeholders for insertion of information page data