Home › Forums › Bug Reports › ACF v.5.8.4 messes with WooCommerce weight field › Reply To: ACF v.5.8.4 messes with WooCommerce weight field
I’ve just tested this and I’m not seeing any issue with the weight field in WC.
What could cause this?
Possible Answer:
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.
Possible Solution:
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.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Cookie Policy. If you continue to use this site, you consent to our use of cookies.