Make a selection

Customize the Customer Portal

  • Updated

You can customize the customer portal from within your theme files using CSS. In addition, the customer portal supports the ability to change its default text or add translations for other languages.

Alert: These customizations require advanced knowledge and technical skill. If you are not comfortable with the required languages, you can reach out to one of our partners such as HeyCarson or Storetasker.



Customize the customer portal with CSS

  1. From the Shopify admin, navigate to Online store > Actions.
  2. Select Edit code on the theme you would like to customize.
  3. Under Assets, select Add a new asset.
  4. Select Create a blank file.
  5. Next to Create a blank file called, enter bold-custom then select .css within the dropdown menu.
  6. Select Add Asset.
  7. Add your CSS Styling within this area, then select Save.
  8. Under Layout, select theme.liquid.
  9. Find the <head> element near the top of the file.
  10. Paste this code right after the <head> tag:
    {{ 'bold-custom.css' | asset_url | stylesheet_tag }}
  11. Select Save.



Translate the customer portal

The Customer Portal supports the ability to change its default text or add translations for other languages.

This customization requires advanced technical knowledge. It is recommended to have a developer assist you.

You can manage the customer portal's language changes and translations by setting window.BOLD.subscriptions.config.internationalization to an object within your shop's theme, with the following shape:

Key Type Shape
{language_code'} Object

The ISO 639-1 language code to configure internationalization data for.

(en = English, fr = French, es = Spanish, etc.)

{language_code}.translation Object The key containing the translations for the parent language code.
{language_code}.translation.{translation_key} String

The translation value for a specific key.

Learn more about translation values below.


A full list of available translation keys and their default values can be found in the window.BOLD.subscriptions.config.internationalizationDefaults object on your storefront.

The following shows an example of setting the en and fr translation of the orderFrequencyTitle key:

  • {% raw %}

    window.BOLD.subscriptions.config.internationalization = {

        en: {

            translation: {

                subscriptionSummaryOrderFrequencyTitle: 'Order frequency'



        fr: {

            translation: {

                subscriptionSummaryOrderFrequencyTitle: 'Récurrence des commandes'




    {% endraw %}

Raw tags are needed to output Liquid code as text in Shopify.


Translation values

  • Translation values may contain interpolation values denoted by keys within double curly brace brackets (eg. "The value is {{value}}".) Use the default translation values to guide what interpolation keys are available for each translation key.
  • Some translation keys allow an extra key with a _plural suffix to be specified which allows different translations for different counts of the translation subject. For languages requiring more than simple singular and plural translations _0, _1, _2, _n suffixes can also be used.
  • Formats of dates can be altered by adding the format after a comma when using an interpolation value (eg. {{date,MMMM DD, YYYY}}). For a full reference of available date format tokens, please view this list.


Language detection and fallback

When multiple languages are provided the customer portal will automatically detect the customer's language and chooses the best translations to use from the available options. When customers view your customer portal with a locale not defined in the translations for their language they are given the en translation by default. You can set the window.BOLD.subscriptions.config.internationalizationFallbackLanguage variable to an ISO 639-1 language code to change the fallback language of the customer portal.


Programmatically changing languages

If you would like to change the current language of the customer portal in Javascript you can do so using the window.BOLD.subscriptions.changeLanguage(languageCode) method.


Testing other languages

You can force the customer portal to display the translations for another language by setting the lng query param in your url to an ISO 639-1 language code. For example,