new-variable-custom-variables-system-magento-admin1-1

Custom Variables

If you know a little basic HTML, you can create custom variables and incorporate them into
pages, blocks, banners, and email templates. When a variable is inserted into HTML, it is
formatted as a markup tag, and enclosed in double curly braces.
{{CustomVar code= “store_hours”}}

To create a custom variable:

1. On the Admin menu, select System > Custom Variable.
2. Click the Add New Variable button.
3. Enter an identifier in the Variable Code field. Use all lowercase characters, without spaces.
4. Enter a Variable Name, which is used for internal reference. Then, do one of the following:

  • In the Variable HTML Value text field, enter any content you want to include, using basic
    HTML tags. This option allows you to format the value.
  • In the Variable Plain Value field, enter the variable value as plain text.


5. When complete, click the Save button.

Leave a Comment

Your email address will not be published. Required fields are marked *