• Resolved accurate_richard

    (@accurate_richard)


    I’m using WooCommerce and added an extra field, “company”, to the form (aside from name and email address). When a user submits the form, an email gets sent to the admin for approval.

    I tried adding the “company” to the email but it’s not working. I believe that perhaps the email gets sent before the “company” meta-field gets saved into the database.

    I’m using “nua_email_tags” filter along with “user_registration_message” filter.

    Is there a way to delay the email somehow to ensure the data gets saved first, then the email gets sent?

    Thanks in advanced!

    https://wordpress.org/plugins/new-user-approve/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter accurate_richard

    (@accurate_richard)

    Any word on this?

    I even try setting the priority higher on the WooCommerce user registration stuff in hopes it executes before the email gets sent but it doesn’t.

    Any way to trigger the email later?

    Thread Starter accurate_richard

    (@accurate_richard)

    Well I had to disable the email directly from the plugin (not ideal) and sent out a custom email after user registration occurs.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Custom field in email’ is closed to new replies.