Skip to content

🎁 BFCM is live! Save up to 30% on EComposer and unlock a free Feature Pack. Explore deals

🎁 The4 BFCM: 15% off Athora & Vetro + free homepage setup & 6 months of EComposer Standard free. See the deal

4.93,472 reviews on the Shopify App Store Install free New to Shopify?Open your store

How to Set up Sizechart Metafield in Sizechart element

By default, the Sizechart image will display the same for all products. But you can create a dynamic size chart for your products using Shopify metafields. This allows you to use one product template for multiple products while displaying different size charts for each product.
Notes:

  • Using metafields allows flexibility – you don’t need a separate template for each product.
  • Customers can see the relevant size chart automatically.

You can follow the following steps to do that.

Step 1: Adding a Sizechart element from the left sidebar

How to Set up Sizechart Metafield in Sizechart element — Overview (Screenshot 1)

Step 2: Click Sizechart -> Content Source -> choose Image metafield in the dropdown.

How to Set up Sizechart Metafield in Sizechart element — Overview (Screenshot 2)

Step 3: Now, you need to fill in the Metafield value to the box.

How to Set up Sizechart Metafield in Sizechart element — Overview (Screenshot 3)

Step 4: Go to Shopify Admin -> Settings

How to Set up Sizechart Metafield in Sizechart element — Overview (Screenshot 4)

Click Metafields and metaobjects -> Products

How to Set up Sizechart Metafield in Sizechart element — Overview (Screenshot 5)

Step 5: Then Add definition

How to Set up Sizechart Metafield in Sizechart element — Overview (Screenshot 6)

Put a name for this new metafield -> choose type Image (file) then copy the metafield code:

custom.size_chart_image
How to Set up Sizechart Metafield in Sizechart element — Overview (Screenshot 7)

Step 6: Navigate to Products -> Edit a specific product -> Uploading an image of sizechart ( png, jpg, webp,..)

How to Set up Sizechart Metafield in Sizechart element — Overview (Screenshot 8)

Step 7: Finally, go back to the App Editor -> fill in the metafield value in the box. The final code should be:

product.metafields.custom.size_chart_image
How to Set up Sizechart Metafield in Sizechart element — Overview (Screenshot 9)

As a result, the Sizechart image is showing up when you click to Sizechart button on the product single page.

How to Set up Sizechart Metafield in Sizechart element — Overview (Screenshot 10)

Repeat Step 4 to add more different sizechart images to other products.

How to Set up Sizechart Metafield in Sizechart element — Overview (Screenshot 11)

If you can’t follow the steps above, please check this video:

Last updated

Was this page helpful?