• Resolved iparker

    (@iparker)


    Hello,

    I’m a litte bit confused because of problems with changing the email address of a user. I don’t understand the behaviour and hope you can explain it to me.

    My simplest case:

    In admin backend I change the billing_email of a user and save the form.
    The request is processing, the form is reloaded. The user email is not changed, the billing email is changed.

    After reload of the form the user email also changed to the new value of the billing email.

    So it seems that there happens some kind of magic synchronization between the billing email and the user email.

    Same in frontend when a user changes his email at edit-account-page, edit-billing-address-page or on checkout: It seems that the email-value is used for normal user email *and* billing email.

    Can please someone explain this to me?

    Best regards,

    Timo

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter iparker

    (@iparker)

    And one addition:

    It seems that if the user has no email the change of the billing email in admin does not change the user email. So the user email is still empty but the billing email is set.

    But if the user has a email the setting of the billing email overwrites the user email.

    Very strange…

    Thread Starter iparker

    (@iparker)

    And another addition: If I clear the billing email this also changes and clears the user email.

    Plugin Support John Coy a11n

    (@johndcoy)

    Automattic Happiness Engineer

    Hi @iparker

    Does this issue happen after switching back to a default theme like Twenty Nineteen and disabling all plugins except for WooCommerce? If not, then re-enable each one at a time until you find the one that’s causing the conflict.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Question about handling of email address in woocommerce’ is closed to new replies.