How to add a size chart to an option

A size chart adds a link under an option. When a customer clicks it, a popup opens with a table or an image, so they can pick the right size without leaving the product page. This article shows how to add one and how to format the table.

Before you start

Add a size chart

  1. Open the option set and select the Dropdown or Buttons option.
  2. In the Size chart section, click Add size chart.
  3. In Link text, enter the text of the link. It starts as "Size chart" and is also the title of the popup. You can use up to 120 characters.
  4. In Chart, paste or type the chart (up to 5,000 characters). See the format below.
  5. To use an image instead of, or as well as, text, drop a file into Chart image. Use a JPG, PNG, WEBP or GIF image under 5 MB. Click Remove image to delete it.

A Dropdown option with the Size chart section filled in: Link text, the Chart text with comma-separated columns, Chart image, Preview size chart and Remove size chart 6. Click Preview size chart to see the popup as a customer sees it. 7. Click Save.

Customers now see the link under the option. To delete the chart, click Remove size chart.

Format the table

Type one row per line. The first row is the header. Separate columns with a tab, a comma, or two or more spaces, and customers see a table.

Size, Chest, Waist
S, 36, 30
M, 38, 32
L, 40, 34

The rules the table follows:

If the text does not meet these rules, the popup shows it as plain text instead of a table. A sentence that contains a comma will therefore not become a table unless every line has a comma.

What customers see

The link text and the chart text can be translated for each store language. See How to translate your options.

Related articles

← How to show or hide options with conditions