Ezeespace / Atelier

Add a size chart to one product

View as Markdown
ChatGPT Claude (web) Claude Desktop Perplexity Cursor VS Code
Report an issue

Spotted a typo, broken link, or something out of date? Let the docs team know.

What's wrong? Your email (optional)

We may reply if you provide an email.

Install in Windsurf

Windsurf connects to this knowledge base via MCP. Add the snippet below to your config file.

Config file path

~/.codeium/windsurf/mcp_config.json
{
    "mcpServers": {
        "atelier-docs": {
            "url": "https://ezeespace.kbkit.com/atelier/_mcp"
        }
    }
}

Restart Windsurf after saving the config file.

Install in Zed

Zed connects to this knowledge base via MCP. Add the snippet below to your config file.

Config file path

~/.config/zed/settings.json
{
    "context_servers": {
        "atelier-docs": {
            "url": "https://ezeespace.kbkit.com/atelier/_mcp"
        }
    }
}

Restart Zed after saving the config file.

Install in Claude Desktop

Claude Desktop connects to this knowledge base via MCP. Add the snippet below to your config file.

Config file path

  • ~/Library/Application Support/Claude/claude_desktop_config.json (macOS)
  • %APPDATA%\Claude\claude_desktop_config.json (Windows)
  • ~/.config/Claude/claude_desktop_config.json (Linux)
{
    "mcpServers": {
        "atelier-docs": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://ezeespace.kbkit.com/atelier/_mcp"
            ]
        }
    }
}

Restart Claude Desktop after saving the config file.

Published 19 minutes ago

Atelier's Size chart block adds a collapsible "Size & fit" chart to the product page, with a cm / in switch. The block has a chart of its own, which every product using the template shows. To give one product a different chart, add it to the product's custom.size_chart metafield — Atelier shows the metafield's chart instead of the block's.

Step 1: Add the Size chart block

The Size chart block isn't in the product templates by default, so add it once:

  1. Go to Online Store > Themes > Customize and open your product template (Products > Default product, or the template your products use).
  2. In the Product information section, click Add block > Size chart. Drag it where you want it, for example below the variant picker.
  3. Set the block's options:
Setting What it does
Heading The row's title, for example "Size & fit".
Chart The default chart, used for products without their own chart. One row per line, cells separated by a vertical bar. The first row is the header and the first column lists the sizes.
Measurements are entered in Centimetres or Inches — the unit of both this chart and every product's metafield chart.
Show cm / in switch Lets shoppers change the unit.
Note Small text under the chart, for example the model's height and size.
Open by default Shows the chart open when the page loads.
  1. Save.

If you don't want a default chart, clear the Chart box. Then only products with their own chart show the block; on other products it's hidden.

Step 2: Create the size chart metafield

  1. In Shopify admin, go to Settings > Custom data > Products.
  2. Click Add definition.
  3. Name it "Size chart" and check that Namespace and key reads exactly custom.size_chart.
  4. Choose the type Multi-line text and save.

Step 3: Add the chart to a product

  1. Open the product in Shopify admin.
  2. In the Product metafields card, click Size chart and type or paste the chart:
Size | Chest (cm) | Waist (cm) | Length (cm)
S | 88 – 94 | 74 – 80 | 70
M | 95 – 101 | 81 – 87 | 72
L | 102 – 108 | 88 – 94 | 74
  1. Save and view the product: the Size chart block now shows this chart.

Use the same unit as the block's Measurements are entered in setting. If the block is set to Centimetres, enter centimetres — Atelier converts to inches for shoppers who switch.

The product's chart also appears in the Size guide pop-up, opened from the Size guide link beside the size option, together with Find my size. The link shows on any product with a chart, even if the template has no Size chart block (in that case the chart is read as centimetres). See Size charts and size guides.

The Size & fit row on a product page switched to inches: the headings read Bust (in), Waist (in) and Hip (in) and every measurement is converted

Chart rules

  • One row per line, cells separated by |.
  • The first row is the header. Write the unit in the column titles, for example "Waist (cm)", so it changes when shoppers switch units.
  • The first column holds the size names and is never converted.
  • Put the unit in each measurement column's heading, for example "Bust (cm)". When any heading names a unit, only those columns are converted, so a column such as "EU size" stays as typed. If no heading names a unit, every number outside the first column is converted.

Tips

  • Same chart for a whole product type? Put it in the block's Chart and use the metafield only for exceptions.
  • Different product types with different default charts (for example tops and trousers) can each have their own product template with its own Size chart block. See Assign templates.
  • For a full guide with measuring help, add a Size guide page and link it from the Variant picker block's Size guide page setting. The pop-up then links to that page under the product's chart.
  • The size chart's script and styles load only on product pages that have the block or a product chart.

Related

Built using KBKit