After July 2021, the 2.3.x release line no longer received quality updates or user guide updates. PHP 7.3 reached end of support in December 2021, and Adobe Commerce 2.3.x reached end of support in September 2022. We strongly recommend upgrading to Adobe Commerce 2.4.x to help maintain PCI compliance.

Inserting a Variable

This site contains archived merchant documentation for a version of Adobe Commerce and Magento Open Source that has reached end-of-support. The documentation available here is intended for historical reference only and is not maintained. The Adobe Commerce Merchant Documentation for current releases is published on the Adobe Experience League.

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.