Product Metafield Not Rendering on New Products (Works on Old Ones – Dawn v10.0.0)

Hi everyone,

I’m dealing with a strange issue related to product metafields and how they’re rendered in the product card (e.g. on collection pages or featured product grids). I’m hoping someone in the community has come across this before.

I’ve created a product metafield that is used to show custom discount information on the product card. The logic and rendering work perfectly on older products, but when I assign the same metafield, with the same content, to a new product, it simply doesn’t appear on the storefront.

Key points:

  • This is not a dynamic source block — the metafield is rendered directly in the card-product.liquid template using Liquid logic.
  • The metafield is properly defined in the admin and assigned to both old and new products.
  • When applied to an old product, the value displays as expected in the product card.
  • When applied to a new product (with identical metafield structure and value), nothing renders.
  • I tested this in a development store and assigned the metafield to all products — again, only the older products show the data.
  • I’ve verified that the metafield is populated, public, and available in the template.
  • The store is using the Dawn theme, version 10.0.0.
  • This is the code:
 {% if full_product.metafields.custom.ahorro_cantidad != blank %}
      <div class="card__ahorro">
           <span class="card__ahorro-cantidad">{{ full_product.metafields.custom.ahorro_cantidad }}</span>
           <span class="card__ahorro-codigo">{{ full_product.metafields.custom.ahorro_codigo }}</span>
      </div>
 {% endif %}

Could this be a caching issue, indexing delay, or something else with new products and how Shopify handles metafields?

Any ideas would be greatly appreciated!

Thanks,
Raquel

1 Like

Hi Raquel

This does sound pretty strange - the metafield value should appear on both types of products, using the code snippet you’ve shared. If you test on a browser with incognito, do you still see the value not appearing on new products?

Hi Liam,

I tested it in an incognito browser, and the result is the same — even with the exact same content in the metafield: old products display it, new ones don’t.

I’m going to share a screenshot showing two products with this metafield active — one displays it (the old one), and the other doesn’t (the new one).

To rule out that this is a theme issue, can you test with a different theme, eg: Horizon?

I just tested it with the Horizon theme, and it works, which means the issue is likely related to the Dawn theme. It might have something to do with how Dawn renders the metafield or handles product data? Is there a way to fix this within Dawn? Changing the theme isn’t an option for me right now