Skip to content

Comments

[#custom-data] Re-introduce declarative product metafield#191

Open
shauns wants to merge 1 commit intomainfrom
shauns/custom-data-metafield
Open

[#custom-data] Re-introduce declarative product metafield#191
shauns wants to merge 1 commit intomainfrom
shauns/custom-data-metafield

Conversation

@shauns
Copy link
Contributor

@shauns shauns commented Feb 9, 2026

Test
shopify app init --template=https://github.com/Shopify/shopify-app-template-react-router#shauns/custom-data-metafield

Summary

  • Adds a declarative product metafield definition (demo_info) in shopify.app.toml
  • Sets the metafield value when creating demo products via the productCreate mutation
  • Adds documentation links for metafields in the UI and sidebar

Re-applies the content from PR #54 which was subsequently reverted.

Re-introduce the declarative product metafield that was previously
added in PR #54 and subsequently reverted. This adds:

- A product metafield definition in shopify.app.toml for tracking
  demo products created by the template
- Metafield data in the productCreate mutation
- UI copy and links for metafields documentation
- A "Metafields & metaobjects" link in the app template specs

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants