Email to Admin is sending before woocommerce fields are saved
-
Hi,
First off great plugin thank you.
I’m using the plugin to manually approve new customers from the woocommerce My Account registration page where I’ve added additional fields to the registration form example: billing_company, billing_address_1, and many others.
Since my client requires these additional fields in the email that gets sent out I’ve had to modify the code to pull the data from the database to include it in the admin new user notification email.
The problem I have is the email is being sent before the WC_save_registration_form_fields routine has completed therefore the data isn’t available.
Do you have any suggestions on how the plugin can run the email routine after the WC_save_registration_form_fields has run?
- The topic ‘Email to Admin is sending before woocommerce fields are saved’ is closed to new replies.