Deleting Metafields
This page was printed on Oct 31, 2022. For the current version, visit https://help.shopify.com/en/manual/metafields/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
- From your Shopify admin, go toSettings>Metafields.
- Select the part of your store that contains the metafield definition that you want to delete.
- Click the metafield definition that you want to delete.
- 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.