Palo Alto 6.2.1 has been released
Release notes
Palo Alto Doumentation
NewSupport
Latest version
Latest version
  • Palo Alto theme documentation
  • Updates
    • What's new in Palo Alto
      • Release notes
      • About 6.2 Release
      • About 6.1 Release
      • About 6.0 Release
      • About 5.9 Release
      • About 5.8 Release
      • About 5.7 Release
      • About 5.6 Release
      • About 5.5 Release
      • About 5.4 Release
      • About 5.3 Release
  • Sections
    • Palo Alto sections
      • Explore the sections
      • Accordions
        • Text block
        • Page block
      • Accordions with images
        • Text block
        • Page block
      • Banner image
        • Subheading block
        • Heading block
        • Text block
        • Timer block
        • Buttons block
        • Video button block
      • Banner with text columns
        • Column block
      • Blog posts
      • Buttons list
        • Button block
      • Collection list
        • Collection block
      • Contact form
        • Form heading block
        • Email block
        • Message block
        • Text line block
        • Telephone block
        • Divider block
        • Single checkbox block
        • Select dropdown block
        • Radio buttons block
      • Countdown
        • Subheading block
        • Heading block
        • Text block
        • Timer block
        • Buttons block
        • Video button block
      • Custom code
      • Custom content
        • Image block
        • Text block
        • Newsletter block
        • Testimonial block
        • Product block
        • Video block
        • Collection block
      • Divider
      • Featured collection
        • Promo block
      • Featured product
      • Grid
        • Collection block
        • Product block
        • Image block
        • Text block
      • Icons row
        • Item
      • Image
      • Image accordions
        • Image block
      • Image with scrolling text
        • Scrolling text block
        • Subheading block
        • Heading block
        • Text block
        • Timer block
        • Buttons block
        • Video button block
      • Image with text
        • Subheading block
        • Heading block
        • Text block
        • Button block
        • Accordion block
      • Locations
        • Locations block
      • Marquee
        • Text block
        • Free shipping message block
        • Custom HTML block
        • Image block
      • Multi column
        • Text block
        • Image block
        • Menu block
        • Collection block
      • Newsletter
      • Overlapping images
      • Press/Logo
        • Press block
      • Products list
      • Products with image
      • Promotion row
        • Custom promo block
      • Recently viewed products
      • Shop the look banner
        • Product block
      • Shop the look grid
        • Product block
      • Shoppable blog posts
        • Article block
      • Slideshow
        • Slide block
      • Social gallery
        • Image block
      • Split images
        • Image block
      • Sticky image cards
        • Image card with text block
      • Sticky images and text
        • Sticky images and text: Horizontal
        • Image and text block
      • Tab collections
        • Collection - block
      • Testimonials
        • Testimonial block
        • Text block
      • Testimonials with images
        • Testimonial block
        • Text block
        • Image block
      • Text
        • Subheading block
        • Heading block
        • Text block
        • Split text block
        • Button block
        • Image block
        • Icon block
        • Icon row block
      • Text columns with images
        • Column block
      • Video
  • Theme Settings
    • Theme settings
      • How to make changes
      • Colors
      • Typography
      • Buttons
      • Product grid
      • Product form
      • Quick shop
      • Cart
      • Upsells
      • Loading overlay
      • Appearance
      • Animation
      • Badges
      • Swatches
      • Pagination
      • Search
      • Social media
      • Currency
      • Favicon
      • Size chart
      • Custom CSS
      • Theme style
  • Header
    • Announcement bar
      • Settings and blocks
      • Text
      • Free shipping message
      • Custom HTML
      • Target settings
      • Image
    • Header
      • Header settings
      • Mega menu
      • Logo
      • Highlighted link
      • Transparent header
    • Mobile menu
      • Menu
  • Footer
    • Footer
      • Settings and blocks
      • Logo
      • Text
      • Link list
      • Newsletter
      • Blog
  • Products
    • Product pages
      • Variant images
      • Settings and layout
      • Size chart tabs
      • Size chart metafields
      • Custom color swatches
      • Pre-order
      • Gift card product
      • Out of stock notification
      • Metaobjects
      • Creating new product page templates
    • Blocks
      • Product blocks
      • Title and price
      • Form
      • Product description
      • Cutline
      • Accordion
      • Upsell
      • Share button
      • Pickup availability
      • Custom code
      • Text
      • Icon
      • Icon row
      • Siblings
      • Inventory countdown
      • Popup text
      • Line item property
      • Divider
      • Feature
      • Complementary products
      • Badges
      • Timer
      • Fit guide
  • Collections
    • Collection pages
      • Filtering options
      • Custom product badges
      • Cutline
      • Catalog banner images
      • Collection pages promo
  • Cart
    • Palo Alto Cart
      • Cart types
      • Empty cart buttons
      • Free shipping message
      • Custom message
      • Terms and conditions
      • Upsell promotion
  • Pages
    • Page templates
  • Blogs
    • Blogs and articles
      • Settings and layout
      • Recommended posts
      • Creating blog page templates
  • Overlay
    • Popups
      • Popup with image
      • Popup small
      • Cookie consent
      • Popup behavior
  • Promotions
    • Upselling
      • Upsell promotions
  • Siblings
    • Product siblings
      • About product siblings
      • How to setup siblings
      • Define a metaobject
      • Add product list entries
      • Activate using a metafield
      • Bulk update sibling products
      • Siblings block
  • FAQ
    • Frequently asked questions
      • Updating your theme
      • Highlight words
      • Image aspect ratio
      • Recommended image sizes
      • Adding a section
      • Reordering sections
      • Sharing a preview link
      • Check your theme version
      • How to add custom fonts
      • Remove 'Powered by Shopify'
      • CSS customizations
  • License
    • Theme license
  • Support
    • Theme support policy
    • Contact support
    • Hire a Shopify expert
Powered by GitBook
On this page
  • Metafields version
  • How to
  • Step 1 - Pages
  • Step 2 - Metafield
  • Metafield details
  • Completed version
  • Step 3 - Products
  • Result
  • Edit language
Export as PDF
  1. Products
  2. Product pages

Size chart metafields

Customize any product to display a unique size chart

PreviousSize chart tabsNextCustom color swatches

Palo Alto provides multiple options for displaying size charts on your product pages. The simplest method is to select and display one page with all your products. This approach works well for stores with a limited product range. For stores with more extensive product options, you can use Shopify's custom data feature with metafields to individually map a particular size chart to a product.

Metafields version

Each product can be configured to use any size chart page you've created. Palo Alto will add a "Size Guide" link with an icon on your product pages when the current product has a size chart associated with it.

How to

Palo Alto uses the pages you create in your Shopify Admin and renders them in a size chart drawer for your customers. The steps are simple:

  • Create size chart pages using the Pages editor in your Shopify Admin.

  • Create a custom metafield.

  • Assign a size chart to individual products.

Step 1 - Pages

The first step is to build your size chart pages in the main Shopify Admin -> Online Store -> Pages

  • Create as many size-chart pages as necessary for your products.

Step 2 - Metafield

Next, we will create a custom metafield specifically for Pala Alto's size chart feature.

  • In the Shopify Admin, click on the "Settings" option at the bottom left:

  • Click on "Custom data" and then click on "Products":

  • Next, click on the "Add definition" button:

If this is your first metafield, a different welcome screen may appear, and the same button may appear in a different position and color.

Metafield details

To define the metafield correctly, we will use the following form details:

  1. Name: We suggest you use "Size chart":

  1. Namespace and key: Must be changed to theme.size_chart:

Replace the default "custom.size_chart" -> "theme.size_chart"

  • Ensure the namespace and key change is correct:

  1. Description: We suggest you use "Size chart" or anything to help you identify the metafield.

  2. Select type: Click the "Select type" button and choose "Page". Then choose "One page":

  1. Save your definition.

Completed version

You can review your metafield definition after saving:

Step 3 - Products

With the size chart metafield created, we can now assign size chart pages to products. To do so, open any product in your store within Shopify admin -> Products.

  • Choose a product that you'd like to connect to a size chart page:

  • Scroll to the bottom of the product and to the Metafields section. Click on the "Size chart" field and select the size chart page for this product:

  • Save the changes.

Result

The "Size Guide" link with an icon will appear on that product page:

When the shopper clicks on the link, the size chart drawer appears with the page that was selected in the product setup:

Edit language

You can edit the default theme content to change the text "Size Guide" next to the ruler icon.

Click on the ellipsis (three dots) at the top-left of the Theme Editor and choose "Edit default theme content":

In the Content editor, sometimes known as the Language editor, under the General tab, modify the text that's under Size chart -> Button:

Save the changes.

Shopify admin -> Pages
Shopify admin -> Settings
Custom data -> Products
Add definition button
Required change
Choose Page -> One page
Final version
Choose a size chart page for this product
Size Guide link