---
title: Change to metafield type handling in liquid - Shopify developer changelog
description: >-
  Shopify’s developer changelog documents all changes to Shopify’s platform.
  Find the latest news and learn about new platform opportunities.
source_url:
  html: 'https://shopify.dev/changelog/change-to-metafield-type-handling-in-liquid'
  md: 'https://shopify.dev/changelog/change-to-metafield-type-handling-in-liquid.md'
metadata:
  effectiveApiVersion: ''
  affectedApi: []
  primaryTag:
    displayName: Themes
    handle: dev_themes
  secondaryTag:
    displayName: Update
    handle: update
  indicatesActionRequired: true
  createdAt: '2024-10-28T15:59:52-04:00'
  postedAt: '2024-10-28T15:47:00-04:00'
  updatedAt: '2024-10-31T11:09:16-04:00'
  effectiveAt: '2024-10-28T15:47:00-04:00'
---

October 28, 2024

Tags:

* Action Required
* Themes

# Change to metafield type handling in liquid

Effectively immediately, metafields without a `type` value will return "string" instead of `blank`. For example, this check will no longer be true

```liquid
{% if metafield.type == blank %}
  This will no longer render.
{% endif %}
```

Instead, a value of `string` will be returned:

```liquid
{% if metafield.type == 'string' %}
  This metafield is of type `string`.
{% endif %}
```
