Setup

Sana Commerce 9.3
Your connector

Page Elements & Messages



Page elements & messages are the text items that are shown in the web store. Page elements & messages cover almost all text items: messages, error messages, validation messages, text of the links and buttons, titles and headers (except for the product titles and content page headers), field names, popup descriptions and titles, alt texts of the images, buttons and input fields and others.

To manage page elements and messages in Sana Admin, click: Setup > Page elements & messages.

You can also create and change page elements & messages directly from the web store in the edit mode using the In-site editor.

All page elements and messages are divided into text items, error and validation messages and custom stock texts.

The table below provides the description of the tabs.

Tab Description
All texts You can edit any text items that are shown in the web store, like text of the links and buttons, field names, popup descriptions and titles, alt texts of the images, buttons and input fields, titles and headers, etc.
Error & validation messages You can edit error and validation messages, for example validation of the required fields.
Custom stock texts Using custom stock texts you can change stock presentation in the web store per customer type.

Stock indicator, stock amount or a simple text can be used. If you want to change stock presentation to a stock indicator, you can simply add the stock indicator images to the custom stock texts.

You can also use the replacement tag [STOCKAMOUNT] for a stock amount with a simple text or an indicator. For example, [STOCKAMOUNT] in stock.

You can change stock presentation for products and product variants that are:
  • Out of stock
  • Low stock
  • In stock

For more information about other stock settings, see "Products".

HTML injections Using HTML injections you can add the custom JavaScript, CSS and HTML to your web store.

Below you can read more details.
Cookiebar You can enable or disable the cookiebar, as well as define how the cookiebar should be presented in the web store.

For more information, see "Cookiebar".

You can also use the predefined replacement tags in the page elements of Sana. When you edit some text item, you can see the list of available replacement tags. If you add the replacement tag to the text, it will be automatically replaced with the necessary information in the Sana web store.

For example, you can show additional information about the customer on the My account page using replacement tags.

 NOTE

If you change any page element or message and it is used in different places, this page element or message will be updated everywhere it is used in the web store.

To create a new text item on the All texts tab, click New item. Specify the text identifier and add description in the target language. Adding a new page element or message is only useful in case of customization. It is not possible to add a new text item to a location in the web store where no text is present.

Name Description
Text identifier The unique identifier of the text item or message.
Description The actual text that is shown in the web store.

If you have a multi-lingual web store, you can select the necessary language from the dropdown list on the Page elements & messages page and change the text item or message in the selected language.

Page elements & messages are available in English by default. If you install any language pack, page elements & messages will be automatically added by the language pack.

For more information about the supported languages, see "Basics".