Summer Sale: Save upto 40%!
Offer valid for a short period.
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.

What is a custom WooCommerce email per product?

A custom WooCommerce email per product is a unique email notification in WooCommerce that gets triggered when a specific product is purchased. Instead of sending the same default order confirmation email to every buyer, this approach allows store owners to send product-specific emails in WooCommerce with personalized content, instructions, or promotions.

By using WooCommerce email customization and WooCommerce email hooks, you can set up different emails based on product IDs or variations, ensuring buyers receive personalized WooCommerce emails that match the exact product they ordered. This not only improves customer experience but also helps businesses deliver targeted communication, such as usage guides, upsell offers, or product care instructions.

Why Customize WooCommerce Email Per Product?

Default WooCommerce emails treat every order the same, but your customers don’t. By customizing WooCommerce emails per product, you create a more personalized and relevant experience that builds trust, reduces confusion, and increases sales. Instead of sending the same generic email to all buyers, you can tailor post-purchase messages that match the specific product purchased, whether it’s a digital download, an online course, or a physical item.

Key Benefits of Custom Product-Based Emails in WooCommerce

  • Product-specific guidance – Include setup instructions, usage tips, or downloadable resources.
  • Higher engagement, fewer support tickets – Customers get exactly the information they need for the product they bought.
  • Perfect for digital goods & services – Deliver license keys, access links, or onboarding checklists automatically.
  • Boost brand loyalty – Show that you care about what they purchased, not just about making the sale.
  • Upsell & cross-sell opportunities – Recommend related products or services directly tied to their purchase.

When Should You Use It?

Consider setting up WooCommerce custom emails per product if:

  • Your products require follow-up instructions (e.g., manuals, PDFs, or training videos).
  • You want to boost upsells or cross-sells with highly relevant recommendations.
  • Your store is scaling, and generic emails feel impersonal, leading to lower engagement.

Key Advantages of Sending Custom Email per Product in WooCommerce

  • Customized post-purchase emails – add product-specific directions, tutorials, or downloads.
  • Increase engagement and fewer support requests – customers receive precisely what they need for that product, avoiding confusion.
  • Ideal for digital goods, services, and online training – automatically provide access links, tips for use, or onboarding instructions.
  • Increase brand loyalty – demonstrate your care for what the customer purchased, not just the sale.

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.
  • Service-based businesses – to provide next steps or scheduling information, depending on the service bought.
  • Multi-vendor or multi-category WooCommerce stores – to communicate uniquely with each vendor or product range.

Comparison Table: Plugin vs. Code Method

Feature / FactorUsing a PluginWriting Custom Code
Ease of UseBeginner-friendly, no coding skills required.Requires PHP knowledge and familiarity with WooCommerce email hooks.
Setup TimeQuick setup (few clicks) with ready options.Time-consuming – involves writing, testing, and debugging code.
FlexibilityMany plugins allow product-specific emails, drag-and-drop editors, and extra features like attachments, upsells, or conditional logic.Flexible if you’re highly technical, but every new feature requires more coding.
MaintenanceRegular updates and support from developers.You must maintain and update code manually when WooCommerce changes.
ReliabilityTested for compatibility with WooCommerce updates.Risk of errors or broken emails if code isn’t updated properly.
CostPaid or freemium, but cost-effective compared to development hours.Free if you code yourself, but high hidden costs (time, possible hiring developers).
Best ForStore owners, marketers, and small businesses wanting quick, effective results.Developers or advanced users who want full control.

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.

  1. Using a plugin (no code, store owner friendly)
  2. Using custom PHP code (developer-centric)

Method 1: Using a plugin (no code, store owner friendly)

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 allows you to design personalized, dynamic email content based on conditions like product name, user role, payment method, and more. It’s perfect for store owners who want complete control over WooCommerce product-based email customization—no developer required.

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: Using Plugin Method

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

  • Go to your WordPress Dashboard → WooCommerce → Spark Editor.
Wordpress dashboard

3. Create or Edit an Email Template

  • Use the intuitive drag-and-drop editor to design your custom email layout.
templates selection
  • Choose the templates that you want to edit.

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 products,country, subscription status, etc.

parameters in conditional logic
values added for conditional logic

For example:

Here we have chosen these parameters:

  • Hide the product = Mascara
  • “Inlist” means products except Mascara will not be sent an email with a product offer coupon.
  • Save the conditions
  • In this we have given a condition in a way the coupon code will be sent to selected products.
  • This is an example email of a new order email sent to the product chain.
email for a customer with coupon
email for a customer without coupon
  • 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 Placed”).

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:
    • {shop.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:

  • Place a few test orders for products with different email rules.
  • Use a plugin like WP Mail Logging to confirm emails are being triggered.
  • Check that the correct conditional content shows up for each product.
  • Run your tests in a staging environment if possible to avoid confusing real customers.

Method 2: Custom Coding Approach

Provide a solution for technical users who need full control over WooCommerce custom email per product functionality without relying on plugins.

Who This Is For

  • Developers or advanced users familiar with PHP.
  • Store owners who want lightweight, plugin-free WooCommerce email customization.
  • Teams needing highly tailored, product-specific email WooCommerce workflows.

Benefits of This Approach

  • Ultimate control over when and how emails are triggered.
  • No plugin dependency, keeping your store lightweight.
  • Flexible logic to send personalized WooCommerce emails by targeting products, categories, tags, or custom fields.

Step 1: Hook Into WooCommerce Email Actions

WooCommerce provides several WooCommerce email hooks (e.g., woocommerce_order_status_completed, woocommerce_email_actions) that let you trigger custom order confirmation emails in WooCommerce.

Example: Send different emails based on product ID

// Hook into the order completed status
add_action(‘woocommerce_order_status_completed’, ‘send_custom_product_email’);

function send_custom_product_email($order_id) {
$order = wc_get_order($order_id);

// Loop through each item in the order
foreach ($order->get_items() as $item) {
    $product_id = $item->get_product_id();


    // Check for a specific product ID
    if ($product_id == 123) {
        // Call your custom email function
        do_action('send_custom_product_email_action', $order, $item);
    }
}

}

Step 2: Create & Register a Custom Email Class

WooCommerce emails are defined as classes. To add a product-specific email WooCommerce template, duplicate an existing file and register it.

In your theme (or child theme):

  • Create a folder:/woocommerce/emails/
  • Duplicate a default WooCommerce email template (e.g., customer-completed-order.php).
  • Rename and modify it (e.g., customer-custom-product-email.php).

Register your custom email class:

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’; // path to your custom class
$email_classes[‘WC_Custom_Product_Email’] = new WC_Custom_Product_Email();
return $email_classes;
}

Step 3: Linking the Email to Your Logic

Now connect your class to the hook. This ensures WooCommerce triggers your personalized WooCommerce emails only for the targeted product.

add_action(‘send_custom_product_email_action’, ‘trigger_custom_email’, 10, 2);

function trigger_custom_email($order, $item) {
$mailer = WC()->mailer();
$emails = $mailer->get_emails();

if (!empty($emails['WC_Custom_Product_Email'])) {
    $emails['WC_Custom_Product_Email']->trigger($order->get_id(), $item);
}

}

Step 4: Extending Targeting Options

You’re not limited to product IDs. With custom logic, you can send different emails based on product categories, tags, or metadata:

  • Variation IDs: $item->get_variation_id()
  • Product categories or tags: has_term( ‘category-slug’, ‘product_cat’, $product_id )
  • Custom fields or attributes: get_post_meta( $product_id, ‘meta_key’, true )

File Placement Notes

  • functions.php: Great for quick snippets (but not scalable).
  • Custom Plugin: Recommended for modular, portable WooCommerce email customization.
  • Theme Folder (/woocommerce/emails/): Best place for custom order confirmation email WooCommerce templates.

Result:
With this coding method, you gain full flexibility to create and send WooCommerce custom emails per product. Whether for digital downloads, courses, or services, you can craft product-specific email WooCommerce templates that improve personalization and customer experience.

Reddit Community Discussion: Custom WooCommerce Emails per Product

I came across a useful Reddit discussion where WooCommerce store owners share tips on sending custom emails based on specific products. The thread covers both coding approaches and plugin suggestions, along with practical advice on targeting product IDs and categories. It’s a good read if you’re exploring different ways to set up product-specific email workflows in WooCommerce.

Reddit Thread Link

Tips to Make WooCommerce Custom Emails Optimize for Conversions

Creating custom emails based on specific products is a great starting point, but to achieve the greatest impact, you should also optimize WooCommerce product-specific emails for conversions. That entails ensuring that not only do they open, but that they also compel clicks, repurchase 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

  • Subject lines (benefit-driven vs. curiosity-based vs. personalized).
  • Email copy length (concise and to the point vs. informative and detailed).
  • Call-to-action (CTA) placement (at the top vs. at the bottom vs. both).
  • Visuals (images or product GIFs vs. plain text).
  • Send time (experiment with different days and times to get maximum opens).
  • For code-written emails, do 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 specific products in WooCommerce?

Yes. With plugins like Spark Editor, you can create product-based WooCommerce emails such as custom order confirmations, thank-you emails, or promotional follow-ups for individual products.

Do I need coding skills to set up custom product emails?

No. Using Spark Editor, you can design and configure WooCommerce emails with a drag-and-drop builder and conditional rules—no coding required.

Can I customize emails for product variations (e.g., size, color)?

Yes. Spark Editor allows you to target specific variations, so customers ordering different sizes, colors, or styles can receive tailored WooCommerce email notifications.

Will setting product-specific emails affect default WooCommerce notifications?

No. Product-level customizations in plugins like Spark Editor run in addition to standard WooCommerce email flows, so you don’t lose default functionality.

Are WooCommerce email customization plugins reliable for performance?

Yes, especially optimized plugins like Spark Editor. They’re lightweight and built to integrate seamlessly, unlike heavy or poorly coded solutions that may slow down your site.

About the Author

Related Reads You’ll Enjoy

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