So, I’ve just clicked update on ACF and now I can’t change weight values in WooCommerce (this is the only plugin an update has been installed for). The field is automatically populated with ‘5614808’. If you change it the value will just change back to the number I mentioned. It shows as this random value on the front end as well (always the same on each product).
Disabling ACF fixes the issue, but that’s not really useful when you’re on a deadline and can no longer input product weights.
What’s also great is the ability to download a previous version of the plugin has gone from your site! Well, the page has no previous versions on it actually.
Can someone provide me with a download of the previous version, or perhaps fix the issue? Either would be great…
I’ve just tested this and I’m not seeing any issue with the weight field in WC.
What could cause this?
You have created a field with the name “weight” in ACF. The field name that is used by WC is “_weight”. ACF uses the meta key of “_weight” to store the ACF field key reference for this “weight” field. The random number you are seeing is probably the numeric portion of ACF’s field key for the field.
Rename the ACF field and avoid using field names that exist in plugins used on your site when attaching them to WP objects that use those fields.
Viewing 5 posts - 1 through 5 (of 5 total)
You must be logged in to reply to this topic.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users