My fields are still showing after I have deleted their field definition

In order to remove a field from your storefront, you will have to remove its reference in your theme code. Deleting the field definition in ACF does not delete the underlying metafield values for objects. Simply put, you are only removing your ability to view and edit the field values.

In order to completely remove a field from your store you will have to do the following:

  1. Remove any field references to the field in your theme code

  2. You then want to clear any field values for objects with this field to avoid any unnecessary clutter, either manually or via Export custom field values

  3. Once this has been done, you can delete the field definition in ACF.

What if I have already removed the field definition before deleting its values?

You can simply re-add the field definition with the same namespace, name, and type in the same scope, then ACF will automatically pick up any existing values, allowing you to pick up where you left off.

If you do not remember the exact naming information of the field, you can use the field search wizard: Import existing fields

Last updated