Right, so I’ve made a custom charity selection box on the cart/basket (using ACF). The select box is separate from the products in the cart, so applies to the whole order. It’s simply a list of charities that the customer can pick from for us to donate a percentage of their order to.
I need to get the value selected from the dropdown box to show up within an ACF text box in the order page within wp-admin. How would I go about updating the value of this text box in the admin order page?
Would I simply need to grab the order ID upon the customer submitting the order and update the custom field value within the order based on the order ID?
Viewing 1 post (of 1 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