Magento 2.2.x Notice: As outlined by the Magento Software Lifecycle Policy, Magento 2.2.x has reached the End-of-Support and will no longer receive quality fixes or documentation updates. To maintain your site's performance, security, and compliance, upgrade to the latest version of Magento.
The online Magento 2.2.x User Guide is scheduled for removal, but will remain available in PDF for Open Source, Commerce, and Commerce for B2B.
Inserting a Variable
Your store includes many predefined variables that can be incorporated into content pages and other communications. In addition, you can include your own custom variables that are specific to your needs.
To insert a variable on a page:
||Do one of the following:
- Open an existing page.
- Create a new page.
||In the panel on the left, choose Content. Then from the editor, do one of the following:
- Position the cursor where you want the variable to appear, and tap Insert Variable.
- If you prefer to work with the code, click Show / Hide Editor. Position the insertion point in the text where you want the variable to appear. Then, tap Insert Variable.
||In the list of available variables, choose the one you want to insert into the page.
||When complete, tap Save.