Show Product Metafield on Collection Page or Home Page

Topic summary

A user wants to display a product metafield below the product price on collection or home pages. They’ve attempted using product.metafields.custom.nameofmetafield.value but it’s not appearing on the collection page.

Solution provided:

  • Correct syntax confirmed: {{ product.metafields.custom.nameofmetafield.value }}
  • Key requirement: Replace nameofmetafield with the actual metafield key (not a placeholder)
  • Context matters: The variable might be current_product, card_product, etc., depending on the theme code
  • Implementation location: Check the collection template or product grid files to identify the correct product variable context

The issue likely stems from either using a placeholder name instead of the actual metafield key, or referencing the wrong product variable for the specific theme template.

Summarized with AI on November 5. AI used: claude-sonnet-4-5-20250929.

I want to display a product metafield on a collection page or home page. Here is an example:

And I want to display the metafield under the Product Price.

I’ve already tried it with “product.metafields.custom.nameofmetafield.value” but it isn’t showing on the collection page.

HI @itsPhil1 :waving_hand: it should be:

{{ product.metafields.custom.nameofmetafield.value }}

Along with the curly brackets the key nameofmetafield needs to be the actual key of the metafield you created and not a generic placholder used for examples sake.

This is IF the metafield is on the product itself, and the “product” is the context of the variable in the collection template or product grid.

meaning it could be current_product or card_product , etc etc instead of just product but you need to read the theme code to be sure