Skip to content
How to setup Size Chart Popup?

How to setup Size Chart Popup?

 

 

 

What is the Size Chart Popup?

The Size Chart Popup displays detailed sizing information in an elegant modal popup, helping customers choose the right size with confidence. Perfect for clothing, footwear, or any products requiring size selection, it features a responsive design with customizable measurement tables and user-friendly instructions.

Step 1: Create Metafield Definition

Creation Instructions

  1. Go to Shopify Admin → Settings → Metafields → Products
  2. Click "Add definition"
  3. Create each metafield with the specifications below
  4. Set Type to "JSON" or create a Metaobject.
  5. No validation required

Required Metafield (1 total)

Jhango Size Chart

custom.jhango_size_chart

Purpose: Structured size chart data for popup display

Type: JSON (recommended) or Metaobject

Description: "Size chart data for popup display with measurements and sizes"

Recommended JSON Structure

{
"sizes": ["XS", "S", "M", "L", "XL"],
"measurements": [
{
"measurement": "Chest (inches)",
"values": ["32-34", "34-36", "36-38", "38-40", "40-42"]
},
{
"measurement": "Waist (inches)",
"values": ["26-28", "28-30", "30-32", "32-34", "34-36"]
},
{
"measurement": "Hip (inches)",
"values": ["34-36", "36-38", "38-40", "40-42", "42-44"]
}
]
}

JSON Structure Breakdown

sizes: Array of available sizes (e.g., ["XS", "S", "M", "L", "XL"])

measurements: Array of measurement objects containing:

  • measurement: The body part or dimension name
  • values: Array of measurements corresponding to each size

Step 2: Set Metafield Values

How to Set Values

  1. Navigate to Products → Select Product → Metafields section
  2. Find "Jhango Size Chart" field
  3. Enter JSON data following the recommended structure
  4. Test the popup to ensure data displays correctly
  5. Save product

Key Features

Usage Notes

  • Displays as clickable trigger button/link
  • Opens modal popup with size chart table
  • Includes measurement instructions
  • Fully customizable styling through block settings
  • Responsive design for mobile devices
  • Falls back gracefully if no data provided
  • Professional table layout with proper spacing
  • Click outside or ESC key to close modal

Visual Guide: Setting Up Metafields

Step-by-Step Screenshots

Here's exactly how the metafields look when you're setting them up in Shopify:

Shopify metafields interface showing jhango_size_chart field with JSON data for size chart

Product Metafields View: This shows how the size chart metafield appears in your product's metafields section. You can see the JSON data entered in the structured format.

Shopify metafields setup interface showing JSON metafield jhango_size_chart

Creating Size Chart Metafield: This screenshot shows the metafield definition setup for JSON type. Note the "JSON" type selection and the namespace "custom.jhango_size_chart".

Frequently Asked Questions

What is a size chart popup in Shopify?

A size chart popup is an interactive modal that displays detailed sizing information when customers click a trigger button. It helps reduce returns by providing accurate measurement data in a professional, easy-to-read table format that works seamlessly across all devices.

Do I need coding experience to implement the size chart popup?

No coding experience is required for basic implementation. The tutorial guides you through creating the JSON metafield using Shopify's admin interface and setting values for each product. However, adding the snippet to your theme templates may require basic HTML knowledge or developer assistance.

Can I customize the size chart data for each product?

Yes, absolutely! Each product can have its own unique size chart data. You can set different measurements, sizes, and values through the product's metafields section. This allows you to accommodate different product categories like shirts, pants, shoes, or accessories with their specific sizing requirements.

Can I include multiple measurement types?

Yes, you can include as many measurement types as needed. The JSON structure supports multiple measurement objects, allowing you to include chest, waist, hip, inseam, sleeve length, or any other relevant measurements for your products.

What happens if I don't set a size chart for a product?

If no size chart data is provided in the metafield, the popup trigger won't display on the product page. This allows you to selectively show size charts only for products that need them, without affecting products that don't require sizing information.

 

Cart (0)

10% OFF for your first order. Use code NEW10

Your cart is currently empty

Thirste Shopify Theme

Market Luxe Shopify Theme

Gymwolf Shopify Theme

The Malkin Shopify Theme

The Omcarat Shopify Theme

The Street Shopify Theme

The Matcha Shopify Theme

Candy Man Shopify Theme

Wishlist

Thirste Shopify Theme

Market Luxe Shopify Theme

Gymwolf Shopify Theme

The Malkin Shopify Theme

The Omcarat Shopify Theme

The Street Shopify Theme

The Matcha Shopify Theme

Candy Man Shopify Theme

Recently Viewed

Thirste Shopify Theme

Market Luxe Shopify Theme

Gymwolf Shopify Theme

The Malkin Shopify Theme

The Omcarat Shopify Theme

The Street Shopify Theme

The Matcha Shopify Theme

Candy Man Shopify Theme