emails

WooCommerce Custom Emails

Add custom emails to WooCommerce

Description

With WooCommerce Emails module you can add custom emails to WooCommerce.

Start by setting number of custom emails in WooCommerce > Settings > Booster > Emails & Misc. > Emails > Custom Emails. In this section you can also set admin title for your custom emails.

WooCommerce Emails - Admin Settings - Custom Emails

After saving settings, go to WooCommerce > Emails, where you will find custom emails you’ve added earlier.

WooCommerce Emails - Admin Settings - Custom Emails - All Emails

Click Configure on selected custom email. There you will be able to set:

  • Enable or disable the email.
  • Email triggers. You can also use these custom emails with WooCommerce Custom Order Statuses.
  • Email recipients (comma separated) for this custom email. Or enter %customer% to send to customer’s billing email.
  • Email subject.
  • Email heading.
  • Email type (Plain text, HTML, multipart).
  • Email template (HTML or plain text). You can use shortcodes in templates (e.g. Booster’s Orders shortcodes).

WooCommerce Emails - Admin Settings - Email Settings

Accessible through:
  • WooCommerce > Settings > Booster > Emails & Misc. > Custom Emails
Tested on WooCommerce 4.1.1 and WordPress 5.4.1
Plugin can be downloaded here. If there are any locked fields in the module, you will need to get Booster Plus to unlock them.

Leave a Reply

Comments

49 Comments

  1. Stefan May 25, 2020 at 1:46 pm #

    Hi,

    I use a 3rd party plugin to add an AWB to my orders (Aftership). Is there any way to add that to the html e-mail? I’ve tried a few shortcode combinations, with no success.

    Thanks a lot!

    Reply to thread

    Avatar
    • RokasJ May 26, 2020 at 7:00 am #

      Hi,

      Unfortunately that’s not possible yet, but we have added it to our to do list.

      Best regards,
      Rokas – Support team

      Avatar
  2. DC May 6, 2020 at 11:50 pm #

    Hello, does the plugin allow adding additional text in a processing order? For example, we have a product called a Donation. When they check out and the order is processing, we would like to add addtional text in that email based on the Donation product. Is it possible with your plugin?

    Reply to thread

    Avatar
  3. Steven Hogenbosch April 22, 2020 at 4:08 pm #

    Another question…
    How do I get the right numbers (prices) in the custom e-mail for credit notes?
    I tried adding invoice_type=”credit_note” to the shortcode:
    [wcj_order_total_excl_shipping excl_tax="yes" invoice_type="credit_note"]
    but that doesn’t do the trick, I’m afraid…

    Reply to thread

    Avatar
    • RokasJ April 23, 2020 at 5:10 am #

      Hi Steven,

      Unfortunately there isn’t a shortcode argument to do that yet, but we have added it to our to do list.

      Best regards,
      Rokas – Support team

      Avatar
    • Steven Hogenbosch April 23, 2020 at 8:50 am #

      OK thanks!
      This is my other question:
      Hi there,

      I’m trying to accomplish something in the custom e-mails that we send out from our shop.
      I’d like to show the total tax for products/items (without shipping tax).

      This shortcode [wcj_order_total_tax] combines products and shipping taxes.
      Unfortunately I can’t seem to find the correct shortcodes in your list https://booster.io/tag/woocommerce-booster-orders-shortcodes/.

      What shortcode will only give product tax?
      Hope you can help.

      ====================

      Earlier this week I emailed support (ticekt 9891) but haven’t heard since so that’s why I’m trying this.

      Avatar
  4. Steven Hogenbosch April 22, 2020 at 11:44 am #

    Hi there,

    I’m trying to accomplish something in the custom e-mails that we send out from our shop.
    I’d like to show the total tax for products/items (without shipping tax).

    This shortcode [wcj_order_total_tax] combines products and shipping taxes.
    Unfortunately I can’t seem to find the correct shortcodes in your list https://booster.io/tag/woocommerce-booster-orders-shortcodes/.

    What shortcode will only give product tax?
    Hope you can help.

    ====================

    Earlier this week I emailed support (ticekt 9891) but haven’t heard since so that’s why I’m trying this.

    Reply to thread

    Avatar
  5. Cesar March 3, 2020 at 12:34 pm #

    Hi, I have a woocommerce store and need to generate several emails for: provider and shipping agency. My question is: can I customize the emails per product? I also need to add the payment method in the mail of the shipping agency, but only when the payment is cash on delivery, is it possible?

    Reply to thread

    Avatar
    • RokasJ March 3, 2020 at 6:04 pm #

      Hi,

      You can add custom emails using “Custom Emails” module.

      Also to set custom gateways use “Gateways by Shipping” module.

      Best regards,
      Rokas – Support Team

      Avatar
  6. Prem Shankar February 1, 2020 at 12:21 pm #

    Hi

    I have a woocommerce store on my website http://www.thenavalarch.com, and I installed your fantastic plugin booster.

    I have added a custom email to be sent upon completion of a new order. I have configured it, but the actual email is not being received by the customer after purchase. Can you advise?

    Reply to thread

    Avatar
  7. Paulette January 31, 2020 at 7:49 am #

    Hello,

    Following your instructions here: https://booster.io/features/woocommerce-order-custom-statuses/?utm_source=module_documentation&utm_medium=dashboard_link&utm_campaign=booster_documentation, I have added a custom order status and a custom email to be sent automatically to my customers every time my new order status is being used.

    My custom order status is correctly displayed on my vendor dashboard, but not on the customer’s end:
    – the order status keeps saying “processing” on the customer dashboard, whereas it is correctly updated on the vendor dashboard
    – the customer never receives the custom email I’ve set for my new order status. I’ve tested it many times and selected all the triggers related to my new order status.

    Can you help me sove this issue?

    Many thanks in advance

    Reply to thread

    Avatar
    • RokasJ February 2, 2020 at 5:25 pm #

      Hi Paulette,

      Please contact us directly via email [email protected].

      Best regards,
      Rokas – Support Team

      Avatar
  8. Leo November 1, 2019 at 10:16 am #

    Hi,

    Is it possible with this plugin to create two separate emails which ar based on the selected shipping method, local pickup or delivered by mail ?

    Best regards,

    Leo

    Reply to thread

    Avatar
    • RokasJ November 3, 2019 at 2:39 pm #

      Hi Leo,

      Unfortunately it’s not currently possible to configure custom emails by shipping method yet but we have added it to our todo list.

      Best regards,
      Rokas – Support Team

      Avatar
  9. Hussein Morobeid October 22, 2019 at 11:25 pm #

    Hello.
    I am trying to add [wcj_text billing_country="ES"] [wcj_text billing_country="DE"] [wcj_text not_billing_country="ES,DE"] to display messages in the Custom E-mails according to billing country, but it ignores spanish & german and dislpays only English, even though the billing country is spain. It works fine in PDF invoices but not working for custom E-mails. What can I do?

    Note: I tried using order_billing_country but then it displays all 3 languages in the same E-mail.

    Thanks!

    Reply to thread

    Avatar
    • RokasJ October 27, 2019 at 8:52 pm #

      Hi Hussein,

      Could you contact us about this issue via email to [email protected]?

      Best regards,
      Rokas – Support Team

      Avatar
  10. Melissa September 13, 2019 at 7:02 am #

    Hi,

    I built a custom order status “sent” and wanted to send an email to the customer. That worked. But as long as the plugin is active there ist no notification sent to the site owner when a new order comes in. The notification to the customer is ok.
    What’s the problem?
    When I disable the plugin, the notification is working.

    Thank you.

    Reply to thread

    Avatar
  11. Torbjorn April 29, 2019 at 2:52 pm #

    Hi

    Is it possible to send the email to the wordpress user email instead of the billing email?

    Regards Toby

    Reply to thread

    Avatar
    • RokasJ April 29, 2019 at 4:03 pm #

      Hi,

      Unfortunately it’s not possible yet but we have added it to our todo list.

      Best regards,
      Rokas – Support Team

      Avatar
  12. Rick March 18, 2019 at 11:37 am #

    Hi,

    Is it possible to change the recipient to customer shipping e-mailaddress? If i add %customer% the e-mail is sent to the billing e-mail.

    Thanks!

    Greets,

    Rick

    Reply to thread

    Avatar
    • RokasJ March 20, 2019 at 2:18 pm #

      Hi Rick,

      Is shipping email address a custom field of yours? There is no such field by default.

      Best regards,
      Rokas – Support Team

      Avatar
    • Rick March 20, 2019 at 2:35 pm #

      Not a separate one, but it’s currently sending the mail to billing address when i use %customer% and not the main e-mailadres.

      Cheers,

      Rick

      Avatar
    • RokasJ March 20, 2019 at 10:13 pm #

      Hi Rick,

      Unfortunately it’s not currently possible to change it to send to shipping email but I still don’t understand where this field is coming from (3rd party plugins etc). Without modifications, WooCommerce allows customers to only enter email once on checkout (under billing details) and there is no such field under shipping data.

      Best regards,
      Rokas – Support Team

      Avatar
  13. Mitch March 7, 2019 at 8:24 pm #

    Hello,

    Is there the ability to send a custom email based on a specified product in the order?

    If it is there and I just missed it, please let me know.

    Thanks.

    Reply to thread

    Avatar
  14. Moritz January 24, 2019 at 8:27 pm #

    Hi, im trying to create an e-mail to notify the customer, if any notes are added to the order by admin or shop-controller. But the trigger “Customernote created” is not working for notes created in the admin-note-feed. What is that trigger for and is there any trigger for the email i would like to create? My notes are set as “customer_notes” category. If i send the e-mail manually, my html works out perfectly. I use [wcj_order_notes type="customer_notes"] for it.
    Greets, Moritz

    Reply to thread

    Avatar
    • RokasJ January 27, 2019 at 10:32 pm #

      Hi,

      Unfortunately that is not possible yet but we have added it to our todo list.

      Best regards,
      Rokas – Support Team

      Avatar
  15. Fabio November 1, 2018 at 9:04 am #

    How can I retrieve a custom field in the order in a custom email? Thank you

    Reply to thread

    Avatar
    • RokasJ November 1, 2018 at 12:08 pm #

      Hi Fabio,

      You can retrieve custom field data using [wcj_order_meta meta_key="" ]. shortcode. Make sure to add your custom field key to meta_key, for example [wcj_order_meta meta_key="_billing_wcj_checkout_field_1" ]..

      Best regards,
      Rokas – Support Team

      Avatar
  16. Fabio November 1, 2018 at 9:02 am #

    How can I add the vendor name and telephone into the custom email?

    Reply to thread

    Avatar
    • RokasJ November 1, 2018 at 12:11 pm #

      Hi Fabio,

      It will depend on what plugin you are using for vendors. You will have to find out what meta key the plugin is using and you will be able to access it using [wcj_order_meta meta_key="" ] shortcode (https://booster.io/shortcodes/wcj_order_meta/).

      Best regards,
      Rokas – Support Team

      Avatar
  17. Christophe GUHRING April 17, 2018 at 2:05 pm #

    Hi,

    I would like to add an attachment to a custom email, via another wordpress plugin I have developped.
    Have you an hook or another way to do that ? (your pdf & packing slips can attach a pdf, so there should be a way…)

    thanks 😉
    Best Regards,
    Christophe GUHRING

    Reply to thread

    Avatar
    • Booster Support Team April 17, 2018 at 2:46 pm #

      Hi Christophe,

      I didn’t test it, but it should work – there is woocommerce_email_attachments hook in WooCommerce, so please try:

      add_filter( 'woocommerce_email_attachments', 'add_my_attachment', 10, 3 );
      if ( ! function_exists( 'add_my_attachment' ) ) {
      	/**
      	 * add_my_attachment.
      	 */
      	function add_my_attachment( $attachments, $email_id, $_object ) {
      		if ( 'wcj_custom_1' == $email_id ) {
      			$attachments[] = 'file_name_to_attach';
      		}
      		return $attachments;
      	}
      }

      Booster’s custom emails have $email_id like wcj_custom_1, wcj_custom_2 etc. And of course you need to replace file_name_to_attach with an actual file name.

      Hope that helps, and please let us know if that worked.

      P.S. If you like Booster, please leave us a rating.

      Best regards,
      Tom

      Booster Support Team
    • Christophe GUHRING April 17, 2018 at 8:32 pm #

      Hi,

      I havent seen your answer but you confirm what I have found : Since I worked already with that hook to attach my file to the original “new order mail”, I’ve printed_r in a file the email-id and I have understood the format of the email id (the mail I’ve tested was the second custom email and the result was “wcj_custom_2” 🙂 so the first should be 1…. test… ok 🙂 file attached !

      Thanks.
      Best regards

      Avatar
    • Christophe GUHRING April 17, 2018 at 11:26 pm #

      Hi again,

      Last problem : I need to add an order note to the mail. (order notes like the ones that are at the right of the order screen in woocommerce. We can add a note that is send to the customer via the order notes email… physically they are stored in the “wp_comments” table
      This is NOT the customer note set at the checkout by the customer. (althought in the original woocmmerce template, these notes are called customer notes… all these naming changes are really headache-aware !)

      But I need to add the lastest note to a custom email. I set this note via REST API (/order/#id/notes). I’ve tryed to add a note as order meta (as we have a booster shortcode for the order meta) but the meta is not updated by my API call…

      Have you an advice ?
      Best regards

      Avatar
  18. websaiz November 4, 2017 at 1:28 pm #

    Help, I have Enable Module Custom Emails and My Account so customers can cancel own orders and it wlil trigger send a email to admin and customers with new status, but the email is not being send?
    what do i do wrong?
    i have the paid version of booster

    Reply to thread

    Avatar
  19. mista September 28, 2017 at 6:11 pm #

    hello
    is there any way to add php ? or to make a custom php file ?

    Reply to thread

    Avatar
    • Elias November 23, 2017 at 11:29 pm #

      I’m looking exactly for this. I would like to add the original woocommerce order table to my custom emails so they fit better.

      Avatar
    • RockPeach May 8, 2018 at 4:54 pm #

      Same, looking to add php files instead. Mush easier to use woocommerce already created emails than start from scratch with HTML…

      Avatar
  20. Daniel V June 28, 2017 at 3:17 pm #

    So nice, but I really need a timer feature for email.

    So e.g. I can sent a custom email 10 days after the customer has completed order.

    Best

    Daniel

    Reply to thread

    Avatar
  21. Marcelo May 20, 2017 at 9:29 pm #

    Hello,

    Is it possible to attach a pdf file into custom email?

    Thank you and regards,

    Reply to thread

    Avatar
    • Booster Support Team May 21, 2017 at 4:55 pm #

      Hi Marcelo,

      Yes, after you enable and configure this “Emails” module, just go to “WooCommerce > Settings > Booster > PDF Invoicing & Packing Slips > Email Options” and custom emails will be automatically added to “Attach PDF to emails” option. Please let me know if you have any more questions.

      Best regards,
      Tom

      Booster Support Team
  22. Al March 10, 2017 at 9:08 pm #

    I have the PDF Invoicing & Packing Slips module plus the Emails & Misc modules turned on in your plugin. Is it possible to send a custom email (using the email module) with the pdf invoice attached (created by the pdf module)?

    Reply to thread

    Avatar
  23. Nikolas December 20, 2016 at 10:40 pm #

    Hello there,
    I would like to suggest a feature.
    I want to use an email template with title Awaiting Payment.
    In the body I need a shortcode equivalent to:
    get_checkout_payment_url() ) . ‘”>’ . __( ‘pay’, ‘woocommerce’ ) . ‘
    so that I can include the Customer payment page url that appears in the order details for an unpaid order.
    This “Pay” url is also in the default customer-invoice.php email template, but it would be great if we could have a shortcode for this.

    Thank you.
    Kind regards,
    Nikolas

    Reply to thread

    Avatar
  24. Artem September 28, 2016 at 10:09 am #

    Hi,
    I read already your advice how to use custom field to Kent, but it is not working for mail subject.
    I’d like to include [wcj_order_checkout_field field_id="billing_first_name"] in the mail subject but unfortunately this shortcode is not processed.

    Reply to thread

    Avatar
    • Booster Support Team September 28, 2016 at 8:34 pm #

      Hi Artem,

      I’ve just made changes to the plugin, so shortcodes should now work in custom email subject. Please download the development version here – https://booster.io/dev/. You will need to uninstall the old version first (don’t worry your saved settings won’t disappear). Please let me know if it works correctly now.

      Best regards,
      Tom

      Booster Support Team
  25. Kent September 3, 2016 at 10:59 pm #

    How can I add the customer name and email into the custom email?

    Reply to thread

    Avatar
    • Booster Support Team September 4, 2016 at 2:41 pm #

      Hi,

      You can use shortcodes in email template, so to add customer name and email, you can use `[wcj_order_checkout_field]` shortcode (https://booster.io/shortcodes/wcj_order_checkout_field/), something like this:
      `[wcj_order_checkout_field field_id="billing_first_name" before="Billing First Name: "]`
      `[wcj_order_checkout_field field_id="billing_last_name" before="Billing Last Name: "]`
      `[wcj_order_checkout_field field_id="billing_email" before="Billing Email: "]`

      Please let me know if you have any questions.

      Best regards,
      Tom

      Booster Support Team
    • Kent September 5, 2016 at 8:23 pm #

      thanks, that’s exactly what I needed.

      Avatar
    • Booster Support Team September 8, 2016 at 9:09 pm #

      Happy to hear it worked! Please let me know if you have any more ideas/requests/bugs regarding the plugin.

      Best regards,
      Tom

      Booster Support Team