You may be using the wrong hook. I use this :
add_action( "woocommerce_email_after_order_table", "custom_woocommerce_email_after_order_table", 10, 1);
function custom_woocommerce_email_after_order_table( $order ) {
echo '<p>content after email table</p>';
}
now, if you look at this link it will show you other hooks that you can use if you want to append other information to the email.
for instance, if you want it in the header instead of after the table:
add_action( "woocommerce_email_header", "woocommerce_email_header_intro", 10, 1);
function woocommerce_email_header_intro( $order ) {
echo '<p>content at top of email</p>';
}
Related Posts:
- WooCommerce lost password reset flow not working with SendGrid (redirect loop)
- Preventing WooCommerce email sending only on particular conditions
- woocommerce fail to replace template string in email title [closed]
- WooCommerce: display text instead of raw checkbox value email
- Editing Header Titles of each details in woocommerce Order Email [closed]
- Woocommerce : How to attach an custom attachment with customer-processing-order.php email template [closed]
- WooCommerce email text based on category && shipping zone && payment method [closed]
- woocommerce_email_attachments filter arguments [closed]
- WordPress ‘on behalf of’ email
- WooCommerce: The model of e-mail is displaying only the html, not css [closed]
- How do I hide the purchase note in the WooCommerce ‘order completed’ email?
- Add custom order meta to Order Completed email
- Woocommerce: Prevent sending of email when order is “Completed”
- How to add a user custom field into Woocommerce emails?
- Custom Admin Email Subject for Woocommerce (3.8.0) Orders
- WooCommerce order complete email logic
- woocommerce email template detect email recipient
- Adding extra email address who receives email like admin – woocommerce
- Add shipping address to Woocommerce order emails [closed]
- Send email notifications to a defined email address depending if a product in order has a specific TAG [closed]
- Woocommerce emails from gmail not being sent
- Send admin new order email to logged in user as well
- Create new email in WooCommerce
- How to check if woocommerce_order_item_name is use in email?
- WordPress woocommerce new order email not working
- Custom Email via Hook only for completed order
- Access custom meta_data in processing order email
- How to add (and change the font of) the short product description to order page and customer’s new order e-mail [closed]
- How to send Woocommerce Customer Details (Name, Email and Phone Number) to Admin upon signup
- How to change lost password email text using custom plugin wordpress?
- Using admin email in billing address
- Forgot password flow does not work, getting email with a link but after clicking link it’s not working
- Send a different “thank you” email based on payment method
- Customer Email Address
- Adding time of order to Admin email for new order
- how to add custom reviews button in woocommerce order complete generated mail
- How to add coupon expiry date into the followup emails?
- Conditional email recipient based off Shipping Method [closed]
- Manual Woocommerce Complete order Emails
- Turkish Character Problem on mailing
- How to override email text New Customer Order?
- Woo-Commerce new order email no style attached
- WooCommerce – How to add a custom field to only a specific email template [closed]
- Insert a custom field as a second email address to a completed order in WooCommerce
- Woocommerce admin order email customize – remove product short description
- Custom email template for a specific product category
- update_post_meta not work [closed]
- How to set a default value in a meta box
- Woocommerce password Reset
- WooCommerce Registration redirect based on page ID
- Woocommerce redirect “add to cart” button to a contact form with product information to get a inquiry
- override the default WooCommerce products search form
- How can I override wp_price woocommerce function in my theme
- WooCommerce print subcategory of product
- Woocommerce Product permalinks “product” word is not working
- Conditionally run function based on custom meta value?
- Issue with WordPress customize
- Group product by Instance ID
- WooCommerce add extra price to products by each category
- Woocommerce checkout page issue – Payment methods not loading – strange “Credit/Debit Card Secure Payment” form
- Sort products by Sale price and stock status
- Pagination in woocommerce – Limiting page-numbers
- Syncing WP Database Changes Between Environments: How To Handle Merging w/o touching database
- Show shipping class in admin order list
- How to sort products by price ASC and place all no price products to the end? (Woocommerce)
- Change order of combined product tabs
- Display notice on WooCommerce emails depending on chosen shipping option
- Impossible to create a new WooCommerce customer using Rest API
- edit URL of search result
- WooCommerce Stripe Test mode
- Check if product variation image is from the variation itself or from the parent
- Will ‘private’ status prevent Woocommerce products to be indexed by search engines?
- How to use products shortcode in taxonomy-product_cat with multiple columns?
- Position WooCommerce basket and pricing
- Display Products Associated with Specific Attribute [closed]
- French accented text replaced with ? in woocommerce product list
- Trying to figure out why an error is returned when trying to add an item to the basket on this website
- Conditionnaly replace “Read more” text WooCommerce products
- WooCommerce/Authorize.net interface problem
- Using category and its sub-categories products attributes as filter in products pages
- How can you get woocomemrce to give you multiple licensing options for a downloadable product?
- WordPress media library don’t load most of the photos in library
- Show “email already used message” first
- How to add capabilities for editor type user to access admin section
- Add multiple products to woocommerce cart
- woocommerce displaying products of a specific page
- How to display woocommerce products of one wordpress account in another wordpress account?
- Woocommerce product listing design issues
- How to hide metaboxes in WordPress Admin on WooCommerce “Add Product” page – Remove side sortables for a specific user role
- How to get an Array from “select” field in advanced custom fields
- change text “free shipping” in WooCommerce [closed]
- Change woocommerce one category image size
- Custom e-commerce display for specific users [closed]
- how to show itemized shipping cost|? [closed]
- GET woocommerce order request is not showing meta data [closed]
- Add a custom meta column to a built-in import CSV file
- How to enable product wise product wise shipping in WordPress WooCommerce?
- Converting longtext to mediumtext in WordPress wp_postmeta table
- How to remove product number count in the category within the sidebar woo commence
- Woocommerce send metadata to stripe