Home › Forums › General Issues › Is it possible to load custom field data into a woocommerce product? › Reply To: Is it possible to load custom field data into a woocommerce product?
You would have to use an acf/save_post filter on the product. In this filter you would need to copy the values from the vendor to the post what that they are available for sorting the post.
So
1) Get the vendor associated with the product
2) Get the values that you want to be able to sort the post on
3) Add these values as meta_values to the post
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 Privacy Policy. If you continue to use this site, you consent to our use of cookies.