Setup

Sana Commerce 9.2
Your connector

Page Elements & Messages



Page elements & messages are the text items that are shown in the webstore. 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.

Page elements & messages can be edited in Sana Admin > Setup > Page elements & messages or directly from the webstore in the edit mode using In-site editor.

For more detailed information about how to edit or create page elements & messages directly from the webstore, see 'In-site editor'.

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

The table below provides the description of the tabs:

Tab Description
All texts Under this tab you can edit any text items that are shown in the webstore, 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 Under this tab 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 webstore 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 a simple text or an indicator with the stock amount using the replacement tag for a stock amount [STOCKAMOUNT]. For example, In Stock ([STOCKAMOUNT]).

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 these fields you can inject the custom JavaScript and CSS directly from Sana Admin and apply it to your webstore.

All texts can be filtered by description and text identifier and sorted by text identifier.

 NOTE

If you edit 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 webstore.

To create a new text item under All texts you need to 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 webstore where no text is present.

Name Description
Text identifier Text identifier is used to group multiple page elements & messages that are available in different languages using a code.
Description The actual text that is shown in the webstore.

If you have a multi-lingual webstore you can edit and create new page elements & messages per language by selecting it in the dropdown on the Page elements & messages page in Sana Admin.

For the English language page elements & messages exist in Sana Admin by default. If you install any language pack, page elements & messages will be automatically added by the language pack.

More information about supported languages can be found here.