Home › Forums › ACF PRO › email the customer who purchased the product when the custom field is updated › Reply To: email the customer who purchased the product when the custom field is updated
The answer to that question hinges on being able to have a record of all of the orders made, who made them and being able to get a list of those that ordered a specific product. This would be dependent on what you are using for orders and the answer to this would come from there.
Given the ability to do the above you would create an acf/save_post action that looked for changes to the field in question and when a change is made then get the above list and use wp_mail() to send each of those people an email.
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!
Sorry for the issues with ACF's API SSL certificate this morning. We've resolved it and your activations and downloads should be back to normal again. Thanks! ^LG— Advanced Custom Fields (@wp_acf) November 2, 2022
© 2022 Advanced Custom Fields.