VTEX system renders a series of standard texts in the store.
For each of these texts, there is a key that identifies it (a kind of variable name) and the corresponding text (the contents of that variable).
For example, in the site topbar - which by default is part of the header subtemplate -, the welcome message is displayed. This message is identified by the topbarSaudacao
key and initially comes with the text "Welcome!".
For each key used by the system, you can change the corresponding text. To do this, follow the steps below:
- In the VTEX Admin, access Store Settings > Storefront > Settings.
- Use the selection box to find the key you want to change.
- Change the text that appears in the field below the selection box.
Variables
Some special variables are available to compose more complex texts:
- Definite article
- Preposition
- Locative preposition
- Possessive pronoun
- Store Name
- Site URL in texts
For example, you want to display the following welcome message in the topbar of the store: Welcome to the World Shopping.
In this case, the terms to
and World Shopping
are special. The first is a proposition, which varies according to the name of each store, and the second is the name of the store, which obviously also varies.
To do this dynamically, I can change the text of the topbarSaudacao
key to the following:
Welcome @preposicaonomeloja2@ @nomeloja@.
That is, I'm using the variables preposicaonomeloja2
and nomeloja
.
When using variables to compose a text, replace the
#
symbol with@
. That is, #variable# becomes @variable@.


As I defined the content of the first variable to be "to" and the second one is "World Shopping", the final text rendered on the site will be "Welcome to World Shopping".
To easily change the special variables that appear in the Important Texts section, simply click on them.