How to Change or Translate Required Pop-Up Messages and “Characters Remaining” Text

You can customize the required field error messages and the “Characters remaining” text shown by Infinite Options by adding a small code snippet to your Shopify theme.

This allows you to:

  • Translate messages

  • Match your store’s tone and language

  • Clarify required field instructions

This only affects Infinite Options validation messages. It does not change Shopify’s default product form behavior.

Where to Add the Code in Shopify

  1. From your Shopify admin, go to Online Store → Themes

  2. Click Edit code

  3. Open your product template file This is usually named product.liquid or main-product.liquid

  4. Scroll to the bottom of the file

  5. Paste the snippet you selected below

  6. Click Save

circle-info

If you’re using a Shopify 2.0 theme, paste the snippet above the {% schema %} line.

Use only one snippet at a time.

If you’re unsure which file is your product template, see this guide for help locating it.

Choose the Text You Would Like to Change

Change “Characters Remaining” Only

Use this if you only want to update the “Characters remaining” message.

Replace "Characters remaining" with your own text.

Example:

Change Text Field Required Message Only

Use this if you only want to change the required error message for text input fields.

Edit the sentence inside the quotation marks.

Change All Required Messages

Use this if you want to customize validation messages for:

  • Text inputs

  • Number inputs

  • Checkboxes

  • Minimum selections

  • Dynamic checkout buttons

  • Dropdown menus

You can edit any sentence inside the quotation marks.

%valuesmin will automatically be replaced with the required number.

If Your Changes Don’t Appear

  • Clear your browser cache

  • Confirm the snippet is inside your product template file

  • Make sure it is placed above {% schema %} in Shopify 2.0 themes

Last updated