Ezeespace / Atelier

Use metafields with Atelier

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

Metafields let you store extra information on a product — a size chart, the fit, the fabric — and show it on that product's page. You fill the information in once per product in Shopify admin, and Atelier shows it in the right place. This guide lists the metafields Atelier reads on its own and the blocks you can connect to any metafield.

Two ways Atelier uses metafields

  1. Automatically. A few metafields have a fixed name that Atelier looks for. If a product has a value, the theme uses it with no setup in the theme editor.
  2. Connected by you. Many block settings can be connected to a metafield of your choice in the theme editor (Shopify calls this a dynamic source). Each product then shows its own value.

Metafields Atelier reads automatically

Metafield Type What Atelier does with it
custom.size_chart Multi-line text The Size chart block on the product page shows this chart instead of the block's own chart. See Add a size chart to one product.
reviews.rating and reviews.rating_count Rating and Integer (filled by your reviews app) Star ratings on the product page (Rating block), on product cards (Theme settings > Product reviews > Show stars on product cards), in the Product comparison section, and in the rating data search engines read.
seo.hidden Integer Read by Shopify itself, not the theme. A value of 1 hides the product or page from search engines, your sitemap and your store's search. Useful for a gift wrap product.

Color swatches also come from metafields — Shopify's category metafield for color. See Set up color swatches.

Reviews metafields

You don't create the reviews metafields yourself. Most reviews apps save each product's average rating and number of reviews in these metafields. Check your app's settings or help pages to confirm it does. Once it does, Atelier's stars appear — the Rating block is already in the default product template. In Theme settings > Product reviews you can also:

  • Show review count on product cards
  • Add ratings to search engine data — turn this off if your reviews app already adds rating data, so search engines don't see it twice.

Create a metafield definition

Before you can fill in or connect a metafield, create its definition:

  1. In Shopify admin, go to Settings > Custom data > Products.
  2. Click Add definition.
  3. Enter a Name, for example "Size chart". Shopify fills in the Namespace and key (for example custom.size_chart). Check it matches exactly when Atelier expects a specific key.
  4. Choose a Type, for example Multi-line text.
  5. Click Save.

Now open any product in Shopify admin: the field appears in the Product metafields card near the bottom of the page, ready to fill in.

Product metafields card on a product in Shopify admin, with the Size chart field filled in with rows such as "Size | Bust (cm) | Waist (cm) | Hip (cm)"

Connect a block to a metafield

These product page blocks are designed to be connected:

Block Setting to connect Good metafield type
Fit details Fit, Model information, Fit note Single line text
Collapsible tab Content Rich text or Multi-line text
Text Text Single line text
Grouped products Products Product (list of products)

To connect a setting:

  1. Go to Online Store > Themes > Customize and open a product template.
  2. Click the block, for example Fit details.
  3. Next to the setting, click the Connect dynamic source icon and choose your metafield.
  4. Save.

Each product now shows its own value. In the Fit details block, empty fields are hidden, so products without a value simply don't show that line.

Show a metafield in Product comparison

The Product comparison section compares up to four products in rows. To show a metafield in a row:

  1. Add a Row block and set Value to Metafield.
  2. In Metafield or option name, enter the namespace and key, for example custom.fabric.
  3. Enter a Label, for example "Fabric".

True or false metafields show a tick or a dash. You'll need to create the custom.fabric (or other) definition and fill it in on each product — Atelier doesn't create it for you.

Tips

  • Name your definitions clearly ("Fabric", "Fit", "Model information") — the name is what you see when filling in products and when connecting blocks.
  • You can fill in metafields for many products at once with Shopify's bulk editor (select products in Products > Bulk edit, then add the metafield columns).
  • Metafield values are translatable with the Translate & Adapt app.

Related

Built using KBKit