Firstly extend WC_Email class to define the email header, subject, email template for content
secondly, add custom email class to the default WooCommerce email classes using woocommerce_email_classes filter, with trigger that calls terms
if ( has_term( 'Your Cat', 'product_cat', $item['product_id'] ) )
lastly, Create an email template to be used to generate email content for your custom email.
this answer to this question involves a lot of code, far too much for SO so you may want to do some reading like.
https://cloudredux.com/adding-sending-custom-woocommerce-email/
Related Posts:
- How to check if is in cart page? [closed]
- Display single product attribute value on Shop page (Woocommerce)
- Is it possible to add custom fields to a WooCommerce attribute term? [closed]
- Add custom variable to cart content [closed]
- Woocommerce 3.1 Add product image to order confirmation email not working
- Woocommerce My Account Endpoint – how to get ID parameter from URL?
- Default woocommerce placeholder image
- How to add Woocomrce cart page shipping calculator to my country state list
- Button to update order status Woocommerce with WC Marketplace
- WooCommerce add_to_cart url not working [closed]
- WooCommerce: display text instead of raw checkbox value email
- How to build wordpress site which will have location based services & products?
- How we can edit variations on cart page? [closed]
- new WC_Order(); Coming Back Empty
- Is there any way to find which action/hook is fired?
- WooCommerce single products images doesn’t zoom on hover and doesn’t change clicking on gallery
- Disabling the free shipping method when the cart has product/s which assigned a certain shipping class [closed]
- “Cannot read property ‘replace’ of undefined” Javascript error when trying to add attribute terms from add product page [closed]
- Order list woocommerce Orders based on meta for custom status
- WooCommerce hide unexisting variations
- How can I change the functionality of breadcrumbs?
- Variation name in $product->get_name()
- WordPress keeps moving my widgets to other widget areas
- How do I group product variations on cart page (Woocommerce)?
- Hide account tab to certain users
- How to Update the Order-Items While Editing an Order on the WooCommerce Admin Order Screen [closed]
- how to remove or disable woocommerce order review in checkout page?
- WordPress and WooCommerce – How many products are too many? [closed]
- Is it safe to have 2 mysql users?
- WooCommerce – Add product with image via REST API
- How to get woocommerce selected variation from order object
- JWT on Woocommerce cannot work with “Customer” role user
- Can’t filter out variable products in sale from wp_get_products loop (or shortcode) [closed]
- Send email notifications to a defined email address depending if a product in order has a specific TAG [closed]
- Adding author option to [products] woocommerce shortcode
- Set dynamic Options array in woocommerce_form_field
- WooCommerce product title formatting
- What Hook/Action is performed when a field in checkout form is changed in WooCommerce
- Benefits over using object method over property from $product?
- Colour of selected radio button seems backwards in Twenty Seventeen + Woocommerce
- How to modify WooCommerce button text in default and additional languages
- WooCommerce – change child category URL structure
- Customizing WooCommerce
- Get Post ID from attachment ID (Redirect to product page)
- WooCommerce set a min order price for a single country [closed]
- Custom WooCommerce rewrite rules with comma delimiter
- Set city as required if country is Singapore
- Woocommerce custom taxonomy filtering
- Woocommerce product tab is not showing probably
- How to list best seller products in woocommerce
- Updating failed. The response is not a valid JSON response. Gutenberg + Woocommerce Products
- Add product image to Woocommerce downloads page
- WooCommerce Simple Auctions add username to auction finished email
- Enable Gutenberg for Woocommerce
- How to change product category permalinks programmatically?
- Make e-Mail optional on Woocommerce sign up
- Sharing data between filters on a snippet (user specific) for Woocommerce
- How to add custom checkboxes from loop to WooCommerce product variation options?
- Create order actions from custom fields woocommerce
- Restrict product tags archive to certain users
- Logo showing on some page but not on product categories pages
- How can I send information when a order is completed to my own POS?
- Woocommerce doesn’t work with theme, header missing and css messed up
- Woocommerce Product Variation – Add Price Logic
- Display related product categories by subcategory
- How to filter result set in custom metaboxes?
- How to change lost password email text using custom plugin wordpress?
- Order again Woocommerce inside View Order
- wc_mail in foreach loop is sending only the first email
- How to fix: “The resource you are looking for has been removed, had its name changed, or is temporarily unavailable.” after malware cleaning
- Can’t update WooCommerce payment method title
- Set Post Thumbnail to external URL
- Custom theme woocommerce product detail page template not working
- How to hide / remove duplicated Woocommerce products from Shop page
- How to add product variations for large number of products in WooCommerce?
- WooCommerce related products load random posts per page
- WooCommerce: Adding a setup fee to certain products
- Woocommerce Languages Files
- How to adjust Related Page Thumb Sizes on single page?
- Adding more than one item to Woocommerce cart
- Changing second user role while updating/downgrading membership level – s2member [closed]
- Woocommerce – get product in category with specific attribute
- How to edit the header banner in the search page in woocommerce?
- How can I display one product using WooCommerce
- How do I change the woocommerce product gallery to show all thumbnails instead of three at a time in a carousel?
- How to add a menu page for options in wordpress for user that has the role of vendor?
- Testimonials/Reviews for Products
- add custom menu in woocommerce dashboard [closed]
- How to edit schema.org markup of WooCommerce?
- Turkish Character Problem on mailing
- WooCommerce: Order Details Table > Add Product Meta
- Override function
- How to change redirect code? [duplicate]
- How to disable schema from Wocommerce? [closed]
- Updating order meta to have a meta entry from an item in the order
- Adding a column to woocomerce admin order page that can be sorted
- WordPress error
- Hide price, “add to cart” button and show message “Please log in to shop” [closed]
- Auto generating API keys using the Application Authentication Endpoint [closed]
- Is there a way to conditionally check if i’m on product variation page url like mydomain.com/myproduct?attribute_pa_color=red