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 3.4.3 and WordPress 4.9.6
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

19 Comments

  1. Kent September 3, 2016 at 10:59 pm #

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

    Reply to thread

    • 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 (http://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.

    • 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
  2. 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

    • 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 – http://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
  3. 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

  4. 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

  5. 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

    • 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
  6. 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

  7. 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

    • 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.

    • 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…

  8. 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

  9. 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

    • 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:

      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

    • 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