add_to_basket) and a translation per language. At runtime, the shop automatically inserts the text of the currently active language.
Text constants are intended for short interface texts. You maintain longer predefined texts such as email content under Text Modules.
Text Constants List
Open Administration → Text Constants. The list shows all tags alphabetically. Use Search to quickly find a tag. The toolbar offers:- + New: Create a new text constant
- Edit: Open the selected text constant
- Activate maintenance view / Deactivate maintenance view: Make tags visible in the frontend (see below)
- Reload text constants: Refresh the list
Maintenance View: Finding Tags in the Frontend
You don’t know the name of the text constant for a specific text in the shop? That’s what the maintenance view is for:1
Activate maintenance view
Click Activate maintenance view. The website opens on the homepage. Instead of the stored texts, it now shows the tags of the text constants in the form
[#login#].2
Read the tag
Navigate to the location with the desired text and read the tag, e.g.
[#login#] for the login button. The tag here would be login.3
Deactivate maintenance view
In the CMS, click Deactivate maintenance view so that the website displays the normal texts again.
Creating a New Text Constant
Click + New. In the dialog you define:- Tag: Unique name of the text constant. The shop references it via this tag.
- Text per language: There is a separate text field for each language of your website (e.g. de-DE and en-GB).
Editing a Text Constant
Select a tag from the list and click Edit (or double-click). The editing view shows two areas:Translations
Translations
The stored texts per language, indicating language, shop assignment, and text. Using the toolbar, you create another translation with + New, open one with Edit, or remove it with Delete.When editing a translation, the following fields are available:
- Language: Language for which the text applies (e.g. de-DE)
- Shop: Optional. If the text applies only to a specific shop, select it here. If the field remains empty, the text applies everywhere.
- Text: The displayed text
General
General
The tag of the text constant. It is fixed and cannot be changed afterwards.
Related Topics
Text Modules
Predefined texts for emails and shop messages.
Languages
Manage language versions of the website.