Shopify MetaFields & MetaObjects: Program dynamic model data and partner profiles without JSON

Introduction

In today's e-commerce landscape, clear, detailed product information is often decisive for the success of an online store. Whether you want to display dynamic model measurements with appropriate size charts or present partners, brands, and influencers on your website, Shopify's MetaFields and MetaObjects offer powerful, easy-to-manage solutions — without complicated JSON code.

In this guide, you'll learn:

  • Like you dynamic model attributes How to display body size, measurements and worn size directly on product pages
  • Like you Partner and influencer profiles build and manage with MetaObjects,
  • And which Best Practices Help to maintain data consistently, scalably and easily in the admin.

Let's start right away.

Part 1: Show dynamic model attributes on product pages

1.1 What are MetaFields and MetaObjects?

MetaFields allow you to add additional custom content to your products — such as dimensions, materials, or notes.
MetaObjects go one step further: They are structured, reusable data sets, ideal for complex information such as model profiles.

Instead of manually maintaining large JSON structures, you can simply define, fill out, and update fields via the Shopify admin.

1.2 Create a model MetaObject

Step 1: Define MetaObject “Model”

  • Open Settings > My data > MetaObjects.
  • Click on Create a new MetaObject And name it, for example, “Model.”
  • Add the following fields:
    • Name (single-line text, such as “Model A”)
    • Height (single-line text, such as “1.80 m”)
    • Size carried (single-line text, such as “L”)
    • Chest (single-line text, such as “90 cm”)
    • Waist (single-line text, such as “70 cm”)
    • Hip (single-line text, such as “95 cm”)

This structured form ensures clean, consistent data entry for your entire team.

Step 2: Fill model data
Model A example:

  • Name: Model A
  • Height: 1.80 m
  • Worn size: L
  • Chest: 90 cm
  • Waist: 70 cm
  • Hip: 95 cm

1.3 Linking models to products

To show model data on product pages, create a product-level MetaField that references the model handle.

Create MetaField:

  • namespace: custom
  • Key: model_handle
  • Type: Single line text
  • Description: “Enter the model's handle (e.g. model-a)”

When editing a product, simply enter the appropriate handle.

1.4 Show model data in the product template

Add the following liquid code to your product template (e.g. product.liquid):

liquid:

{% comment %}
  Retrieve the model reference from the product's metafield.
  This assumes the metafield 'custom.model_handle' contains the model’s handle.
{% endcomment %}

{% assign model_handle = product.metafields.custom.model_handle %}
{% if model_handle %}
  {% assign model = shop.metaobjects.models[model_handle.value] %}
  {% if model %}
    <div class="model-attributes">
      <h3>Our Model: {{ model.fields.name.value }}</h3>
      <p>Height: {{ model.fields.height.value }}</p>
      <p>Wearing Size: {{ model.fields.wearing_size.value }}</p>
      <p>Bust: {{ model.fields.bust.value }}</p>
      <p>Waist: {{ model.fields.waist.value }}</p>
      <p>Hips: {{ model.fields.hips.value }}</p>
    </div>
  {% else %}
    <p>No model data available.</p>
  {% endif %}
{% else %}
  <p>Model information not set for this product.</p>
{% endif %}

Explanation:
The code retrieves the model handle from the product MetaField, loads the corresponding MetaObject and outputs its fields to the frontend. Fallback messages ensure a clean user experience, even when data is missing.

Part 2: Managing Partner and Influencer Profiles with MetaObjects

In addition to model data, MetaObjects also allows you to clearly manage partners, brands or influencers and present them on your own page — an important lever for trust and brand loyalty.

2.1 Create a partner MetaObject

Step 1: Define MetaObject “Partner”

  • Go to Settings > My data > MetaObjects.
  • Create a new MetaObject called “Partner.”
  • Add these fields:
    • Name (single-line text)
    • Bio (multi-line text)
    • image URL (URL field)
    • Instagram (URL field)
    • Twitter (URL field)
    • Category (single-line text or dropdown, such as “Influencer,” “Brand,” “Collaborator”)

This allows your marketing team to maintain profiles without editing the code.

Step 2: Enter partner data
Exemple:

2.2 View partner profiles on a separate page

Create a new page template, such as partners.liquid, and paste in this liquid code:

liquid:

<div class="partners">
  <h2>Our Partners & Influencers</h2>
  {% for partner in shop.metaobjects.partners %}
    <div class="partner-profile">
      {% if partner.fields.image_url.value %}
        <img src="{{ partner.fields.image_url.value }}" alt="{{ partner.fields.name.value }}">
      {% endif %}
      <h3>{{ partner.fields.name.value }}</h3>
      <p>{{ partner.fields.bio.value }}</p>
      <div class="social-links">
        {% if partner.fields.instagram.value %}
          <a href="{{ partner.fields.instagram.value }}" target="_blank">Instagram</a>
        {% endif %}
        {% if partner.fields.twitter.value %}
          <a href="{{ partner.fields.twitter.value }}" target="_blank">Twitter</a>
        {% endif %}
      </div>
    </div>
  {% endfor %}
</div>

Explanation:
The code goes through all partner MetaObjects, shows their image, name, biography, and social links, and allows easy updates directly in the Shopify admin.

Best practices and important notes

3.1 Consistency and comprehensibility

  • Use clear field names and descriptions in the admin.
  • Keep units (such as cm or m) consistent.
  • Use comprehensible structures for recurring data types.

3.2 Scalability

  • Modularstruktur: Both model and partner areas can be expanded. New fields can be added at any time.
  • Reusability: MetaObjects can be referenced by multiple products or pages. Changes to a model profile automatically update all associated products.

3.3 Improved customer experience

  • Clear fit: Customers can orient themselves better thanks to the specified dimensions — this reduces returns.
  • Strengthen credibility: Influencer and Partner Profiles create trust and tell the brand story in an authentic way.

Conclusion

With Shopify MetaFields and MetaObjects, you can manage important product details and partner information dynamically and without complex JSON structures. Teams without previous technical knowledge maintain content directly in the admin, while your theme renders the data cleanly and automatically on the frontend.

In this way, you reduce returns, strengthen brand trust and create a data-rich, customer-oriented shopping experience — flexibly scalable for all future expansions of your Shopify store.

About UNHYDE®

UNHYDE is a Shopify agency from Munich, specialized in web development, UX design and digital brand management. Our goal is to create high-performance, scalable platforms that deliver measurable results. As a certified Shopify partner, UNHYDE has already successfully implemented numerous international web shops and websites.

For customized solutions related to MetaFields, theme optimization and scalable data structures, contact us at hello@unhyde.me.

Shopify Metafields: Implement dynamic product data with Liquid & JSON
Mastering CSS animations & transitions — advanced guide for dynamic web design without JavaScript
Shopify dynamics with JavaScript & JSON: How to make your store interactive and performant
Debugging in Shopify Themes: How to fix Liquid, CSS & JavaScript errors efficiently
Shopify performance optimization: use CSS & JavaScript correctly for maximum speed
How much does a professional Shopify relaunch really cost? Budget, factors and realistic pricing frameworks
UNHYDE•UNHYDE•UNHYDE•UNHYDE•UNHYDE•UNHYDE•