title | redirect_to |
---|---|
Inserting a Variable |
Your store includes many predefined [variables]({% link marketing/variables-predefined.md %}) that can be incorporated into page content and other communications. In addition, you can include your own [custom variables]({% link marketing/variables-custom.md %}) that are specific to your needs.
-
Open a page, block, or dynamic block in edit mode.
-
Go to the Content section and click any element that supports the editor.
-
Position the cursor where you want the variable to appear and click the Insert Variable icon.
![Editor toolbar - Insert Variable]({% link cms/assets/editor-toolbar-variable-button.png %} "Insert Variable"){: .zoom} Insert variable icon
If you do not have Page Builder and prefer to work with the HTML code, click Show / Hide Editor. Position the insertion point in the text where you want the variable to appear. Then, click Insert Variable.
-
In the list of available variables, choose the one you want and click Insert Variable.
![Insert Variable page]({% link cms/assets/content-insert-variable.png %} "Insert Variable page"){: .zoom} Insert Variable page
-
When your content edits are complete, click Save.