Ollie Shop Messages
Every string in Ollie Shop can be personalized, even from native Ollie Components. To make it easy for you to change the text on any native component we created a variable to represent each text. There is no way we can list all of them, but it’s very easy to find out what is the variable name for any given string.Steps
- Open any checkout page in your browser.
- Right-click on an element that contains a customizable text and select Inspect.
- In the browser DevTools, go to the Elements tab.
- Expand the selected HTML node. You will find the custom text metadata attributes applied to the element, immediately before or alongside the rendered text.

Metadata attributes
Each customizable text includes the following attributes:| id | Description | Usage | |
|---|---|---|---|
data-translation-key | mandatory | Unique identifier of the message | Use this key to customize the text in the Admin Dashboard → Messages section. |
data-translation-raw | mandatory | The original, unprocessed message template | This value does not include the final rendered text. Instead, it shows the message with its variable placeholders as defined by the translation system |
data-translation-variables | optional | Defines the variables used by the message | - Dynamic values (e.g. item counts, prices) - Pluralization rules - Rich text or conditional content |
next-intl library.

next-intl documentation here.
Changing a text or adding a translation
Native Components
As an example let’s change the text insde the “Checkout” button of the cart page


Adding a Translation to a native text
Translations happen the same way. Translations are nothing but changes to native texts.