Woo Custom Emails Per Product

Description

Easily add custom content for each product into the default WooCommerce receipt emails.

Use the new “Custom Emails” menu to create custom messages to be displayed. Then for each WooCommerce product, you can assign your Custom Email Message, select which Order Status email your custom message will be displayed in: “Order Processing,” “Order On-Hold,” or “Order Complete,” and select which location inside the email template your custom content will appear: before or after the Order Details table, after the Order Meta, or after the Customer Details.

If you assign multiple products to have the same Custom Email Message, in the same Order Status email, the message will only be displayed once to avoid duplicates.

Great for product instructions to users, terms and conditions, linking to follow-up registration forms, advertising related products/events, or anything else!

Screenshots

  • Plugin menu: "Custom Emails"
  • 'Custom Message' example - use the Classic Editor
  • New Tab in the WooCommerce Product Data section: "Custom Emails"
  • Use the search fields to find your WCE Message, then assign it to an Order Status email. Click the Title of your Message to assign it, then Update/Publish the Product to save your settings.
  • Custom Message in the Customer email
  • Custom Message in the Admin email
  • Assigned Messages page
  • Woo Custom Emails Settings page

Installation

This section describes how to install the plugin and get it working.

  1. Backup your site before installing a new plugin.
  2. Upload the plugin files to the /wp-content/plugins/woo-custom-emails-per-product/ directory, or install the plugin through the WordPress plugins screen directly.
  3. Activate the plugin through the ‘Plugins’ screen in WordPress. You’ll see a new Admin Menu item is added: “Custom Emails”
  4. Go to ‘Custom Emails’ > ‘Add New WCE Message’ and Publish a message to be shown in your emails. Auto-generated content (like shortcodes, etc) will NOT appear in your email content.
  5. Go to ‘Products’ and Edit one of your published WooCommerce products.
  6. Scroll down to the ‘Product Data’ section and look for the new ‘Custom Emails’ tab.
  7. Select which Order Status email should show your custom content.
  8. Click the button for ‘Select Message’. This will open a Search form below the button.
  9. Type the name of your Custom Message into the search box. Results will begin to appear as you type.
  10. Click the name of the Custom Email Message you’d like to use. It will show the Title of the custom message above the Search Box and the text will be Green to indicate you’ve selected the item.
  11. Select where your custom content will display inside the email, by choosing one of the “Content Location” options.
  12. Publish/Update the Product.
  13. Now, try to purchase one of the products you have customized with this plugin — when you receive the email, you will see your custom content showing in the location you’ve chosen.

FAQ

Why can’t I see the ‘Custom Emails’ tab when Editing a ____ Product?

At this time, the plugin is only designed to modify emails sent for the default WooCommerce “product” post type. You may be able to use the plugin with other product types by adding the proper CSS classes to the “Extra Display Classes” field under the WCE Settings page. To find the CSS classes which will make the tab visible: edit one of your custom products, scroll to the ‘Product Data’ table, inspect the code for the tab content you can see, and use that CSS class inside the ‘Extra Display Classes’ field on the WCE Settings page.
If you are using a WooCommerce add-on which creates its own custom emails (like Box Office, etc), this plugin will not be able to add content inside those emails. You may be able to find a paid plugin which can modify emails for your custom product type.

Why does my content appear in the wrong location in the email?

When there are multiple products in an Order which have the same Custom Emails message assigned, the first occurrence of a product with that Custom Email will get priority on which Content Location setting to use.

How can I see which products have WCE Messages assigned?

In Version 2.2.6, we added a new page called “Assigned Messages” under the “Custom Emails” menu. This page performs a query to find your WooCommerce products which have Custom Messages assigned, and will output each product in a table showing its associated Custom Messages, their titles, assigned order status, and assigned template location.

What HTML tags are allowed?

You can use any HTML allowed in the Classic Editor.

How do I request a feature or report a bug?

Have you found something wrong with the plugin? Thought of a helpful feature to add? Please see the Issues section on GitHub:
https://github.com/alexmustin/woocustomemails/issues/

Something Else?

If you are having any issues, please post in the Support Forum.

Reviews

9 oktober, 2020
This plugin has been a big help in customizing messages to customers. I am having an issue with 'Downloadable' product orders. The customized message I have for these types of orders is appearing BELOW the download links and I would like it to appear ABOVE it as the message contains instructions for downloading. Is there any way to make the customized message appear ABOVE the download links in the email? Thank you so much!
1 septimber, 2020
Super happy with this plugin. Being able to send custom emails per product is priceless! Thank you very much @alexmustin
20 july, 2020
This plugin has really saved my day many times. Works great! If you have any issues with it, I recommend trying to use it with incognito mode - I had some compatibility issues with some of my browser extensions and this plugin.
13 juny, 2020
It's perfect thank you really much! The only thing I'm missing is WPML integration. But despite this, it's really good!
29 maaie, 2020
We have a multi vendor store where each customer only buys from one vendor and we needed to be able to send out specific information with each purchase. I'm not a programmer so need to find something simple and this did exactly what we needed. THANK YOU
27 april, 2020
Es un complemento que funciona y hace lo que describe, ojalá pronto integren las variables de contenido dinámico en los mails.
Read all 20 reviews

Contributors & Developers

“Woo Custom Emails Per Product” is open source software. The following people have contributed to this plugin.

Contributors

Changelog

2.2.6 – (Nov 12, 2020)

  • UPDATE: Compatible with WordPress 5.6 and WooCommerce 4.7.0
  • ADD: New plugin page: “Assigned Messages” — this new reporting page shows all your WooCommerce Products which have Custom Messages assigned. A table shows each Product and its associated Custom Messages, their titles, assigned order status, and assigned template location.
  • ADD: New setting: “Include Custom Message in Admin Emails” — the WCE Settings page has been updated with a new option allowing you to include the Custom Messages in Admin emails. When enabled, the Custom Message will appear in the same location in the email as it does for the customer.

2.2.5 – (Apr 25, 2020)

  • UPDATE: Compatible with WordPress 5.5 and WooCommerce 4.0.1

2.2.4 – (Nov 29, 2019)

  • FIX: Removes the error message: “Cannot redeclare log_message()…”

2.2.3 – (Nov 14, 2019)

  • UPDATE: Compatible with WordPress 5.3
  • FIX: Stops the Custom Email Message from being shown in the Admin “New Order” email

2.2.2 – (Jan 11, 2019)

  • FIX: Fixes error: “in_array() expects parameter 2 to be array, boolean given”

2.2.1 – (Dec 27, 2018)

  • UPDATE: Compatible with WordPress 5.02 and WooCommerce 3.5.3

2.2.0 – (Jul 9, 2018)

  • ADD: Now assign a Custom Email Message for all 3 of the default Order Status emails! The plugin is backwards-compatible, so you will see your email settings from previous versions automatically applied.
  • FIX: Fixed a CSS issue on the WCE Messages Admin Page.

2.1.4 – (Apr 11, 2018)

  • FIX: Fixed issue where error messages were displaying in emails under certain circumstances.

2.1.3 – (Mar 21, 2018)

  • FIX: Fixed issue where no messages were displaying in emails.

2.1.2 – (Mar 6, 2018)

  • FIX: Fixed issue where “Warning:” error message was showing in emails.

2.1.1 – (Feb 26, 2018)

  • FIX: Fixed issue with Variable Products not saving Custom Messages.

2.1.0 – (Feb 19, 2018)

  • ADD: Adds a new ‘WCE Settings’ page under the ‘Custom Emails’ admin menu.
  • ADD: New Settings option: “Show Version 1x Content” — Adds a new “Show Content” button in the Product Data “Custom Emails” Tab — click this button to display your old Version 1.x Custom Content, so you can Copy/Paste it into a new WCE Message.
  • ADD: New Settings option: “Extra Display Classes” — Allows you to specify the extra WooCommerce product classes assigned to the ‘Custom Emails’ Product Data Tab. Example: “Bookings”: show_if_booking
  • FIX: “After Order Meta” and “After Customer Details” settings have been updated so the content will appear where it is expected to be inside the email.

2.0.0 – (Feb 11, 2018)

  • ADD: Adds a new Custom Post Type for you to create your Custom Email Messages.
  • ADD: Moves WooCustomEmails fields into its own Tab in the Product Data section.
  • ADD: AJAX Live Search to quickly and easily find your Custom Email Messages.
  • FIX: No more duplicate messages in emails!

1.0.5 – (Jan 16, 2018)

  • FIX: Fixes error message: ‘Fatal error: Cannot redeclare woo_custom_emails_output_message()’

1.0.4 – (Dec 9, 2017)

  • ADD: Added option to choose which Customer Order Status Email the content will appear in. Choose from “Processing,” “On-Hold,” or “Complete” status emails.
  • FIX: Added support for br tags

1.0.3 – (Sept 8, 2017)

  • FIX: Fixed issue of PHP code showing in the admin area

1.0.2 – (Sept 5, 2017)

  • FIX: Added support for “align” attribute in img tags

1.0.1 – (Jul 6, 2017)

  • First release!