How do I use the Templates editor?
Purpose and scope
The Templates Editor feature is a code-based design tool to extend the look and feel of your Account Dashboard.
The Templates Editor gives you more control over the look and feel of your WebShop. Initially, we have exposed objects and variables in the Account Dashboard, allowing you to add messages, links to customer promotions and/or move the order of elements contained in the body of the Account Dashboard screen. Use our Using account dashboard icons feature to re-order menu items on the Account Dashboard. We have also introduced a TWIG block to our Visual Page Builder, which allows you to use the Template Editor on content pages also.
This feature is a work in progress. It is enabled upon request. It will be extended to expose more objects and variables over time giving you even more control over the look and feel of your WebShop.
The purpose of this article is to explain what the Templates Editor feature is, and to provide some use cases where you may find it useful.
Key points
Knowledge of coding is required to use this feature. You must understand some basic programming constructs and be comfortable using HTML, CSS and variables.
You are responsible for ensuring that the code you have written doesn’t adversely affect your WebShop. We do not provide free support fix code you have written in the Templates Editor.
This feature is a work in progress.
Currently, it is enabled upon request.
Introducing terms and concepts used in this article
Term | Definition |
---|---|
Twig | an open source template engine which we refer to as our templating language. It consists of a standard syntax that uses expressions, variables and tags to control the content and logic of each template or code snippet. |