I am getting an "already taken" error when trying to create a metafield definition for seo.hidden
How to get past this Shopify error when attempting to create the seo.hidden metafield definition for products
Shopify allows you to create metafield definitions for products, and other content, in your store, even if the metafield already exists on your products. This is typically done by viewing your unstructured metafields and pressing the "Add definition" button. You can find more general information on creating metafield definitions in this Shopify guide.
For reasons unknown, Shopify has decided to exclude the seo.hidden
metafield from this list, even if some of your products have this metafield.
There is a simple trick to get around this.
Go to the "Product metafield definitions" page. It should look something like this:

In the URL bar for your browser, paste add in the following to the end of the already existing URL:
/migrate/seo/hidden
You should end up with something like:
https://admin.shopify.com/store/YOUR-SHOP-URL/settings/custom_data/product/metafields/migrate/seo/hidden
You'll be brought to the page to create a definition for
seo.hidden
. Change the type to "Integer" all other settings are up to you.

Last updated
Was this helpful?