ACF Pro wipes current data when CF is altered

I created a Custom Field with ACF Pro and simply wanted to change the name, field name, whether it was required or not, a placeholder and an append but this wipes out all previous data written in on the products.

This has destroyed quite some work on my end as I had to re-find and re-enter all the data.

Is this intentional and if so, how can I disable this?

Hi Nico,

Wiping out previous data is not intentional. There’s no reported issue related to this as well.

First, please make sure that you are using a compatible version of the plugin.

Please also make sure that new name doesn’t exist yet.

In case the issue persists, please try to setup a staging site to some conflict test. Try to remove any your customization and try testing for a plugin conflict. You can do this by deactivating all third party plugins, and seeing if the problem remains. If it’s fixed, you’ll know a plugin caused the problem, and you can narrow down which one by reactivating them one at a time.

Let us know how it goes!

Hello!

I have the version from Pro itself. It should be 5.8.8. as the next update is 5.8.9.

Since the site is still being built, I tried deactivating all plugins except for WooCommerce and ACF Pro.
The issue still persists.

What I do to duplicate this issue is:

  1. Add new Custom Field for Products.
  2. Add in value in the product (20) and click “Update”.
  3. Change label, name & placeholder value (100).
  4. Refresh the product page.
  5. Custom Field in product page has now removed ‘20’ and it simply shows the placeholder value (100).

Hi Nico,

Did you change the Field Name? that’s a unique identifier you should have not changed that or else the field will be considered as a new field (not existing)

Please change back that to the original field name, the original value should be back on the product as well.

I have tested this on my end, and even if I deactivated and deleted the ACF PRO, when I reinstall it again the value on the product remains, just make sure you do not change the field name.

Thanks,

1 Like

Hey!

Thanks for that information and you are right, that was what was giving me issues.

You’re most welcome,

Cheers!

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.