How to change the storefront text and language
The widget shows built-in texts that are not part of your options, such as "Choose an option", "This field is required" and "Adds $8.00 per item". This article shows how to change them and how languages are chosen.
How the built-in language works
Sol: Product Options includes built-in texts in 17 languages: English, Danish, Dutch, Finnish, French, German, Italian, Japanese, Korean, Norwegian Bokmål, Polish, Portuguese (Brazil), Portuguese (Portugal), Spanish, Swedish, Chinese (Simplified) and Chinese (Traditional). The widget uses the language of the store page the customer is on. For a language that is not on the list, it shows the English text.
You can replace any text for any of your store's languages. Texts you leave unchanged use the built-in version.
Change a text
- Go to Settings > Storefront text.
- If your store has more than one language, choose the language in Language. The main language is marked "(default)".
- To find a text, type in Search texts. The page shows how many texts match.
- Edit the text in its field. The grey placeholder is the built-in text. Once you change a text, the field shows "Default: ..." underneath.
- Check the preview beside the fields.
6. Click Save.
To undo, click Reset to default at the bottom of a section. Emptying a field also returns it to the default.
You must save or discard your changes before you can switch to another language.
The texts
The texts are split into two sections.
| Section | Examples |
|---|---|
| Messages | Required choice, Required field, Invalid email, Invalid phone number, Number below the minimum, Number above the maximum, Too many choices, quantity and date range messages, file upload errors, Buy it now note |
| Labels | Dropdown prompt, Add-on price, Subscription note, Price per unit, Size chart link, Close button, Dimension sides, File upload button and progress, Product list "Sold out" and "Added with" |
Buy it now note is the line customers read while products from a Product list option are ticked. Its default is "Buy it now isn't available with add-on products. Use Add to cart."
Rules for a text
- Up to 200 characters, on a single line.
- Some texts contain placeholders in braces, such as
{min},{max}or{amount}. Keep each one exactly as it is, once. The page tells you which one to keep or remove. - Use braces only for placeholders.
For example, "Adds {amount} per item" can become "Extra {amount} per item". The widget replaces {amount} with the price.
Options and storefront text are separate
Storefront text covers the widget. The texts of your own options (labels, values, help text) are translated inside each option set. See How to translate your options.