Public Ticket #2843703

Customize sent approval emails

Closed
Comments
11 Tickets 4
Orlando started the conversation 5 years ago on August 7, 2021 at 12:15am

Hi!

How do I personalize these emails?

I would like to remove this brand from WooCommerce to start and lack the store link for the person to go shopping :D

Do I need another plugin?


7294772820.png
2,762
KingsPlugins replied 5 years ago on August 7, 2021 at 8:27pm

Hi Orlando,

To change the text itself, you can use the following steps:

1. Go to wp-content/plugins/b2bking/includes/emails/templates/

2. Copy your-account-approved-email-template.php directly to your theme folder (wp-content/themes/yourtheme/your-account-approved-email-template.php)

3. Now you can edit it as you want to.


To modify the design of the email (e.g. if you do not want the WooCommerce style with the purple header etc):

- One option is to remove lines like do_action( 'woocommerce_email_header', $email_heading, $email );

from the template, and instead add your own HTML/CSS


- Another option is to style the email using email styling plugins such as Kadence WooCommerce Email Designer . But this would also modify WooCommerce emails I believe (not just B2BKing emails).

Kind regards,

Stefan

2,762
KingsPlugins replied 5 years ago on August 8, 2021 at 9:22am

The Kadence plugin cannot add fields or data (I think not even text). It can just change the style / design of emails, basically apply a different theme to emails.

To change the text/data I think the only way is to modify the template.

Sign In