Get 20% OFF on SPARK EDITOR
Limited Time only!
00
Days
00
Hours
00
Minutes
00
Seconds
Better WooCommerce Emails.
Higher Engagement.
With Spark Email Editor, customizing WooCommerce emails is easy, beautiful, and effective – now at 20% off.
Use coupon
claim your discount.
SAVE20 Offer Banner

How to Send WooCommerce Custom Emails Per Product

Table of Content

Tired of dull WooCommerce emails?
Design stunning WooCommerce email templates with Spark Editor today.

Looking to send WooCommerce custom emails per product and boost customer satisfaction? You’re not alone; personalized emails drive 6x more transactions than generic ones, yet most WooCommerce stores still rely on one-size-fits-all order emails.

In today’s competitive WooCommerce world, sending tailored messages for each product can improve your customer experience, reduce confusion, and even drive repeat sales.

Whether you’re offering digital products, physical items, or online services, this feature can make your store stand out.

In this article, we’ll show you exactly how to send WooCommerce custom emails per product with both a no-code plugin method and a developer-friendly code solution.

Why Customize WooCommerce Email per Product?

Customizing WooCommerce order emails per product allows you to provide a personalized, targeted experience for your customers. Rather than sending the same generic email to all buyers, you can design product-based WooCommerce email notifications that align with the product’s nature, usage, or even upsell prospects.

Key Advantages of Sending Custom Email per Product in WooCommerce

  • To begin with, send customized post-purchase emails that include product-specific directions, tutorials, or downloads as soon as a customer completes a purchase.
  • As a result, each customer receives relevant and actionable content tailored specifically to the product they bought.
  • Consequently, this reduces confusion and lowers the volume of support requests, while also boosting engagement.
  • Moreover, this approach works especially well for digital goods, services, and online training, where timely guidance is crucial.
  • In addition, automation ensures you can instantly deliver access links, usage tips, or onboarding instructions—streamlining the post-purchase experience.

Who Needs WooCommerce Custom Email Per Product Functionality?

This functionality is particularly beneficial for companies selling variable or high-touch products. The following are practical examples of who would benefit from implementing product-specific WooCommerce email triggers:

Suitable for:

  • Online course developers – to send welcome guides for each course individually.
  • Sellers of digital products – to insert product-specific download links or license keys.
  • Subscription box companies – to personalize onboarding emails according to the chosen box or theme.
  • For service-based businesses, you can send next steps or scheduling information right after a customer buys, depending on the service.
  • Similarly, if you run a multi-vendor or multi-category WooCommerce store, you can send different messages for each vendor or product range.

When Should You Use This?

  • When you sell products that need to be followed up separately (such as PDFs, instructions, or usage guides).
  • If you want to increase upsell or cross-sell conversions after the purchase.
  • When your store begins scaling, one-size-fits-all emails feel impersonal or less effective.

How to Send Custom Emails Per Product in WooCommerce

Personalizing emails for every product in WooCommerce can significantly enhance your customer experience, particularly when the products need special follow-ups, instructions, or links. Here are two great ways to send custom WooCommerce emails according to the product purchased — one using a plugin (no code) and one using custom PHP code (developer-centric).

Method 1: Using a Plugin (No Coding Required)

If you want to send custom WooCommerce emails per product without touching a single line of code, the fastest and most user-friendly option is to use a plugin. One standout solution for this is Spark Editor, a powerful drag-and-drop WooCommerce email customizer with advanced conditional logic.

Spark Editor empowers you to design personalized, dynamic email content with ease. Whether you’re targeting specific product names, user roles, or payment methods, the editor makes it simple to set up custom rules. As a result, you can craft emails that feel highly relevant to each customer.

Moreover, Spark Editor is ideal for WooCommerce store owners who want complete control over product-based email customization. Unlike traditional tools, it doesn’t require any developer assistance. Instead, you get an intuitive interface that puts you in charge—from start to finish.

Key Features:

  • Visual drag-and-drop email builder.
  • Conditional logic based on product, cart, user role, etc.
  • Shortcode support for dynamic content.

Prerequisite:

  • Requires Spark Editor Pro to activate conditional logic.
  • Compatible with WooCommerce 6.6+, PHP 7.4+, and WordPress 4.9+.

Step-by-Step Setup Guide

Here’s how to set up custom WooCommerce emails per product using Spark Editor:

1. Install & activate Spark Editor Pro

Purchase and download Spark Editor with Conditional Logic from the official site.

2. Navigate to Spark Editor Settings

Wordpress dashboard

Go to your WordPress Dashboard -> WooCommerce -> Spark Editor.

3. Create or Edit an Email Template

Use the intuitive drag-and-drop editor to design your custom email layout.

templates selection

4. Look for Conditional Blocks

Inside the email editor, look for a settings icon or advanced options (usually top right or in the sidebar).

Enable “Conditional Blocks” or “Dynamic Content” if available.

5. Select the Element for Logic

Click on the text block, image, or section you want to show/hide based on conditions.

order summary container

In the right-hand panel, find the “Conditions” or “Visibility Rules” section.

conditional logic

6. Apply Conditional Logic Rules

In the Conditions section, you’ll have the option to set a condition based on user attributes like country, subscription status, etc.

parameters in conditional logic
values added for conditional logic

For example:

Here we have chosen these parameters:

  • Hide the product order summary container
  • Country = USA
  • Inlist = means countries except the USA will not be sent an email with a product order summary container.
  • Save the conditions
  • This is an example email of a failed order email sent to a customer with a billing address in the “ UK”.
email for customer in the UK
  • Below is an example email of a failed order sent to a customer in Puerto Rico, US.
email for customer in the US
  • This shows our conditional logic has been implemented successfully.

7. Save & Publish

Once your logic is in place, save the template and assign it to the correct WooCommerce email trigger (like “Order has failed”).

Assigning Custom Email Templates to WooCommerce Products

When applying conditional logic in Spark Editor:

  • Select product-specific conditions: e.g., Show block A only for “Yoga Mat” and block B for “Fitness Tracker.”
  • Customize subject lines and email content per product using dynamic fields like:
    • {customer_name}
    • {product_name}
    • {order_date}
  • Clone templates to quickly replicate styles across products, making minor tweaks for each.

This gives you granular control over your messaging for each product.

Testing the Email Workflow

Before going live, it’s important to test your WooCommerce product-specific email rules thoroughly:

  • First, place a few test orders for products with different email rules to see how they behave.
  • Then, use a plugin like WP Mail Logging to confirm that the emails are being triggered correctly.
  • Finally, check that the correct conditional content appears for each product, ensuring everything is working as expected.
  • Run your tests in a staging environment if possible to avoid confusing real customers.

With Spark Editor’s Conditional Logic, you can tailor the customer experience for every product, helping boost engagement, trust, and repeat sales.

Method 2: Custom Coding Approach

If you prefer a lightweight, plugin-free solution or want to fully customize the logic, you can set up WooCommerce custom emails per product using PHP code.

Hooking into WooCommerce Email Actions:

WooCommerce provides email action hooks like woocommerce_order_status_completed and woocommerce_email_actions that you can tap into

add_action(‘woocommerce_order_status_completed’, ‘send_custom_product_email’);
function send_custom_product_email($order_id) {
$order = wc_get_order($order_id);
foreach ($order->get_items() as $item) {
if ($item->get_product_id() == 123) {
// Your custom email logic here
}
}
}

Writing PHP Code to Target Product IDs:

  • Loop through the products in an order.
  • Use conditional checks for get_product_id() or get_variation_id() to identify specific products.
  • Trigger an email only when a particular product is detected in the order.

Creating & Assigning Email Templates:

  • Duplicate an existing email template in your theme under /woocommerce/emails/.
  • Rename and modify it to reflect the product-specific content.
  • Register your new email class using the WC_Emails filter:

add_filter(‘woocommerce_email_classes’, ‘add_custom_product_email_class’ );
function add_custom_product_email_class( $email_classes ) {
require ‘class-wc-custom-product-email.php’;
$email_classes[‘WC_Custom_Product_Email’] = new WC_Custom_Product_Email();
return $email_classes;
}

  • Hook it to your custom logic from above when the product ID matches.

Pros and Cons of Going Custom:

differentiation of going custom

Tips to Make WooCommerce Custom Emails Optimize for Conversions

Making custom emails based on particular products is an excellent beginning, but if you wish to achieve the greatest impact, then you should also optimize the WooCommerce product-specific emails for conversions. That entails ensuring that not only do they open but that they compel clicks, re-purchase actions, or the desired action.

Techniques for WooCommerce Email Personalization

Personalized emails are more human and relevant, which boosts engagement. Here’s how to make WooCommerce emails personal for every product:

  • Use the first names of customers: Add dynamic tags such as {customer_name} to the greeting
  • Reference the exact product bought: Don’t forget what they bought by adding {product_name} to the content
  • Include product-specific resources: Provide a link to a user guide, video tutorial, or bonus download specific to that product.
  • Suggest complementary products: Use smart cross-sells based on the product just bought.
  • Thank you message: Include a thank-you message from the founder or seller, especially for handcrafted or high-ticket items.

Example: “Hi Sarah, thanks for purchasing the Handcrafted Oak Cutting Board! Here’s a quick video on how to season it and keep it in perfect shape for years”.

Subject Line Best Practices for Product-Based Emails

Your subject line decides whether the email is opened or left unread. Make it worth it.

What Works:

  • Be specific: “Your Organic Skincare Starter Kit – Important Info Inside”.
  • Create urgency: “Last chance to claim your bonus guide for [Product Name]”.
  • Spark curiosity: “What most people miss after buying [Product Name]”.
  • Use emojis judiciously to grab attention (if suitable for your brand).
  • Test personalization: “Hi {first_name}, here’s a pro tip for your [Product Name]”.

What to Avoid:

  • Generic statements such as “Your order has shipped” (unless paired with a benefit).
  • ALL CAPS or spammy punctuation.
  • Overused clickbait words (unless truly valuable).
  • A/B Testing Suggestions for WooCommerce Email Optimization.

To understand what works best, you must try various variables. Here’s how to conduct actionable A/B testing on your WooCommerce product-specific email:

What You Can Test

  • For example, test subject lines that are benefit-driven, curiosity-based, or personalized.
  • Next, experiment with email copy length, such as concise and to the point versus more informative and detailed.
  • Additionally, try different call-to-action (CTA) placements—at the top, at the bottom, or both.
  • You can also test visuals, using images or product GIFs versus plain text.
  • Furthermore, send emails at different days and times to find when you get the most opens.
  • Finally, for code-written emails, perform manual A/B testing via list segmentation.

Tip: Only test one factor at a time per email campaign, so you understand what made the difference.

Common Problems When Sending WooCommerce Custom Emails Per Product

Though creating custom WooCommerce emails per product can be powerful, you could encounter a couple of technical glitches. Below are the most frequently encountered problems for store owners and the quick solutions.

1. WooCommerce Custom Emails Not Sending After Product Purchase

Cause:

  • Misconfigured email rules or product conditions.
  • SMTP server issue or email deliverability issue.
  • WooCommerce hooks are not properly firing for the chosen order status.

Fix:

  • Double-check the order status that’s activating the email (e.g., “Completed” vs “Processing”).
  • Employ a plugin like WP Mail Logging to monitor if the email is being activated.
  • Make sure your store is hooked up to a good SMTP plugin (e.g., WP Mail SMTP).
  • When using custom code, ensure that the hook (such as woocommerce_order_status_completed) is properly set up.

2. Wrong Email Template Triggered for WooCommerce Product

Cause:

  • Overlapping product rules in plugin settings.
  • The code logic is hitting the wrong product ID or variation ID.
  • Multiple matching conditions leading to conflicts.

Solution:

  • Check product-specific rules—ensure one rule is applied per product.
  • In custom code, utilize get_variation_id() for variable products and cross-check product IDs.
  • Utilize error_log() for debugging to see which condition is being matched.

3. WooCommerce Email Plugin Conflicts with Other Extensions

Cause:

  • Multiple email-related plugins are active (e.g., marketing automation + custom email tools).
  • Theme or plugin compatibility issues.
  • Outdated WooCommerce or plugin versions.

Solution:

  • Deactivate all non-essential plugins and test email delivery again.
  • Update WooCommerce and all extensions to their latest versions.
  • Switch to a default theme (like Storefront) temporarily to rule out theme conflicts.
  • Touch base with plugin developers if there’s a known issue with other extensions.

Pro Tip: Always test in a staging environment before pushing live changes. And have a log of changes to your email config so you can roll back if things go wrong.

Conclusion

Sending custom WooCommerce emails per product is a smart move for any store aiming to improve customer experience, reduce support tickets, and boost engagement or repeat purchases. Whether you go the no-code route with a plugin like Spark Editor or prefer custom PHP code for more control, you can tailor post-purchase communication in a way that truly resonates with your buyers.

This approach is especially useful for:

  • Digital products needing instructions/downloads
  • Courses and services that require onboarding
  • Personalized shopping experiences for different product lines

Ultimately, smart email customization can enhance trust, strengthen brand loyalty, and turn first-time buyers into repeat customers.

Helpful Reads

Frequently Asked Questions

Can I send different emails for variable products (e.g., color or size variations)?

Yes. Use get_variation_id() in PHP or set conditions in plugins like Spark Editor to target specific product variations.

Do I need coding skills to set this up?

No. Plugins like Spark Editor Pro let you configure everything with a drag-and-drop interface and conditional logic.

Will setting custom emails affect other WooCommerce email notifications?

Not unless you override core templates. Most plugins or custom hooks run in addition to the default email flows.

What if I want to show multiple custom blocks based on different products in one email?

Conditional logic in plugins like Spark Editor allows you to add multiple rules. You can show/hide different sections in a single WooCommerce email based on which products are in the customer’s order.

Are there performance issues when using plugins to send custom emails per product?

Not typically, especially with optimized plugins like Spark Editor. However, poorly written custom code or heavy plugins may affect load times, so always choose well-coded tools and monitor your site performance.

About the Author

Related Reads You’ll Enjoy

Simplify Email Customization with Drag-and-Drop Features in Spark Editor.