• spartanc

    (@spartacursus)


    Dear Kadence,

    First of thank you for this plugin. It works wonderfully. I have adjusted all the standard mails and made them look way better then before, which my customers appreciate they told me.

    There is however one WordPress e-mail that I cannot edit. Which is the mail customers get that confirms they have succesfully reset their password. How can I edit this mail with your plugin?

    The mail customers get: https://i.imgur.com/hX8MpLL.png

    Hope you can help me out.

    Kind regards.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Ben Ritner – Kadence WP

    (@britner)

    Hey,
    Thanks for posting. The reason that email isn’t listed is that it’s not through woocommerce. WordPress core sends that email and so it never interacts with the woocommerce mail system, it’s classes and styles. Creating a plugin that edits the WordPress core emails could be a good idea.

    You can disable this email following suggestions here: https://wordpress.stackexchange.com/questions/206353/disable-email-notification-after-change-of-password/206396

    Thread Starter spartanc

    (@spartacursus)

    Hi Ben,

    Thanks I’ve added that piece of code! Hope it works.

    I have a different problem however but it’s not as big.
    In the ‘Customer New Account’ mail template I have the design set up as:

    “Hi {customer_first_name}!

    We have created an account for you.”

    However the actual mail sent actually shows customer_username instead of customer_first_name. I’ve checked this by testing it myself and using an email log plugin. Is there a bug somewhere?

    Kind regards.

    • This reply was modified 6 years ago by spartanc.
    Plugin Author Ben Ritner – Kadence WP

    (@britner)

    Hey,
    Sorry about the late response I didn’t see that you responded.

    {customer_first_name} pulls from data if the customer has checked out on your site. It’s going to pull from the billing first name. If you are testing with an account that has not purchased something on your site and therefore has not entered a first name in their billing address fields it will fall back to use the “display name” of that user. A display name defaults to the username if there is nothing else to pull from.

    Does that make sense? If you are allowing registration and are not having the registered user input their first name then I suggest you not use that placeholder because it will fall back to a user name with nothing else provided.

    Ben

    Thread Starter spartanc

    (@spartacursus)

    Hi Ben,

    Thank you for your reply.

    That makes sense and explains why my own testmails only show an username.
    However I have also installed a plugin to show the emails sent out and it shows the same problem. All my customers fill in their full info, including their first and last name.

    The e-mails sent for order confirmation all show the correct name. The mails sent for account creation, however, do not. They’re both using the same ‘customer_first_name’.

    All other mails where ‘customer_first_name’ is used are also sent correct. Like password reset mails. It’s just the account creation mails, I have no idea why.

    Kind regards

    Plugin Author Ben Ritner – Kadence WP

    (@britner)

    Hey,
    This just means that when your new account email is set the user database doesn’t yet contain the order information which includes the customer first name.

    So again if you are adding users before they have to fill out information like first and last name. For example, if you’re creating the account at checkout before the order is complete and the process of the checkout has been able to save the customer information.

    In a case where you are not having them register and including that information in the separate registration form, I don’t suggest you use the placeholder because it won’t have information to pull from that you are trying to fill.

    Ben

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Password succesfully reset mail design?’ is closed to new replies.