Shopify Flow App - Product Metafield size charts

Topic summary

A merchant is implementing product metafields for size chart pages (e.g., Mens Underwear, Girls Bras) and wants to automate assignment via Shopify Flow when new products are added.

Proposed workflow logic:

  • Trigger: Product added to store
  • Check if metafield is empty
  • Check if product tags match specific categories
  • Update product metafield to corresponding size guide page

Technical challenges identified:

For “Page reference” type metafields in Flow, users must manually obtain the page ID (found in the admin URL’s last segment) rather than selecting from a dropdown, making automation less straightforward.

Recommendations from community:

  • Consider using page handles instead of page references, as they’re easier to obtain and use in Liquid code
  • Manual assignment may be more practical depending on the volume of edits
  • Custom theme coding will likely be needed to display this metafield type on the frontend
  • Shopify has plans to simplify setting metafield references, but no short-term timeline available

The discussion remains open regarding the best implementation approach balancing automation versus manual effort.

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

Not much extra to add here. I’ve seen a lot of merchants doing this exact use case.

We do have plans to add an easier way to set metafield “references” like page but it’s likely not coming short-term.

1 Like