After July 2021, the 2.3.x release line will no longer receive quality fixes, or user guide updates. PHP 7.3 reaches end of support in December 2021 and Adobe Commerce 2.3.x reaches end of support in April 2022. We strongly recommend planning your upgrade now to Adobe Commerce 2.4.x and PHP 7.4.x to help maintain PCI compliance.

Inserting a Variable

Your store includes many predefined variables that can be incorporated into page content and other communications. In addition, you can include your own custom variables that are specific to your needs.

  1. Open a page, block, or dynamic block in edit mode.

  2. Go to the Content section and click any element that supports the editor.

  3. Position the cursor where you want the variable to appear and click the Insert Variable icon.

    Editor toolbar - Insert Variable 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.

  4. In the list of available variables, choose the one you want and click Insert Variable.

    Insert Variable page Insert Variable page

  5. When your content edits are complete, click Save.