How to create a definition for a metafield that already exists?

Topic summary

Issue: An existing product metafield (namespace: “seo”, key: “hidden”, value type: integer with value 1) used to hide wholesale products cannot be given a definition in Shopify because the namespace/key are reported as already taken, and it doesn’t appear under “metafields without definition.”

Goal: Make this metafield available directly on product admin pages by creating a formal metafield definition.

Context: Metafields store custom data; a definition formalizes a metafield (namespace + key, type) so it’s visible/editable in the admin UI.

Question: If the metafield values are removed from all products, will that allow recreating it via Shopify’s metafield section with a proper definition?

Status: No resolution or guidance provided yet; the thread is an open request for advice on defining an already-existing metafield and whether deletion/recreation will enable definition creation.

Summarized with AI on February 9. AI used: gpt-5.

Hi,

I am using this metafield to hide my wholesale products (Namespace seo, key hidden, integer 1). It was added manually or with an app a couple years ago.

However, I now want it to be available directly on the product admin pages. I cannot seem to create a definition for it, as it is ‘already taken’ and I do not see it in the list of ‘metafields without definition’.

If I remove the metafield from all products, would I then be able to add it back in the shopify metafield section?

Thank you!

1 Like