Deleting Metafields

如果你不再想要了afield for part of your store, then you can delete the metafield definition. When you delete a metafield definition, you can choose between the following options:

  • 删除only the metafield definition.
  • 删除both the metafield definition and all associated metafield values.

If you want to save the values associated with a metafield, then delete only the metafield definition. After you delete the definition, you can access the values bymigrating them to a new custom metafield definitionwith the same namespace and key.

删除a metafield definition

  1. From your Shopify admin, go toSettings>Metafields.
  2. Select the part of your store that contains the metafield definition that you want to delete.
  3. Click the metafield definition that you want to delete.
  4. Click删除, and then select one of the following options:
    • To preserve the associated values on parts of your store, click删除definition only.
    • To completely delete the metafield and all its associated values, click删除definition and all metafield values.

Ready to start selling with Shopify?

Try it free