In this tutorial you will learn how to customize WooCommerce order confirmation emails with more data. In a previous tutorial (here: https://www.youtube.com/watch?v=qN7eU_UboMg&list=PLlgSvQqMfii4RPNBbdpjCdmlJfSJRt6Cw ), you learned how to customize the appearance of your WooCommerce emails.
Here you will learn how to add more data to your emails. You can combine these two emails to create highly customized WooCommerce emails.
//*
Local by Flywheel building sites on your computer tutorial: https://www.youtube.com/watch?v=nVi13qWdcvE&list=PLlgSvQqMfii43lqtvwI8vxHoY_ujdc0ug
How to customize the appearance of WooCoomerce emails with a plugin tutorial: https://www.youtube.com/watch?v=qN7eU_UboMg&list=PLlgSvQqMfii4RPNBbdpjCdmlJfSJRt6Cw
Join our private Facebook group today! https://www.facebook.com/groups/wplearninglab
//*
Here are 20+ reasons why I host all my sites with SiteGround: https://wplearninglab.com/siteground-wordpress-hosting-review/
//*
Post videos of your WordPress success using the hashtag #WPLLCommunity!
Get on the Unofficial Ultimate Guide To Elementor course waiting list here (no obligation): https://elementor.convertri.com/elementor-guide-waiting-list
Here’s the link for Elementor Pro (aff): https://wplearninglab.com/recommends/elementor
Grab your free 17-Point WordPress Pre-Launch PDF Checklist: http://vid.io/xqRL
Download your exclusive 10-Point WP Security Checklist: http://bit.ly/10point-wordpress-hardening-checklist
I hope this information helps you! If you have any questions leave a comment below or ping me @WPLearningLab on Twitter.
WP Learning Lab Channel: http://www.youtube.com/subscription_center?add_user=wplearninglab
source
WordPress Tutorials - WPLearningLab
Watch this tutorial on customizing the appearance of your WooCommerce emails here: https://www.youtube.com/watch?v=qN7eU_UboMg&list=PLlgSvQqMfii4RPNBbdpjCdmlJfSJRt6Cw
Ron Hutton
Nice job explaining how to edit WooCommerce transactional email. This helps a lot on a current project.
Victor DeCastro
Grate video. Question: where can we get the php code? Thanks again in advance.
Shuvo Baidya
Love this Video
Betül Öztürk
Great tutorial! Thank you soo much. Only I couldn't call the product picture. I need help,
I wrote same codes at 8:16.
function add_more_data_to_wc_emails($table, $order){
ob_start();
$template= $plain_text ? 'emails/plain/email-order-items.php' : 'emails/email-order-items.php';
wc_get_template ($template, array(
'order' => $order,
'items' => $order->get_items(),
'show_download_links' => $show_download_links,
'show_sku' => $show_sku
'show_purchase_note' => $show_purchase_note,
'show_image' => true,
'image_size' => $image_size
));
}
Aboubacar Nabran
Good piece of information there, thanks for sharing , much appreciated!
Aissa Aset Bey
great tutroial. thanks!
Aissa Aset Bey
i love my Flywheel
anas nailam
thank you
nidky
Can you please share the code? Thank you!
Moxwai Limited
Thanks!
Catherine Hannan
hi thanks for the video. should this be uploaded to the parent or child theme?
Bas Wientjens
I'm sorry, but I can't find the code in the description. Where can I find the code to enter?
Harry Reagan
How to solve error code showing on order not
A lot of php codes before the order summary
Roy Burchett
How would you add an advanced custom field into the email template?
O'mar Real
HERE IS THE PICE OF CODE
function add_more_data_to_wc_emails ($table , $order) {
ob_start();
$template = $plain_text ? 'emails/plain/email-order-items.php' : 'emails/email-order-items.php';
wc_get_template( $template, array(
'order' => $order,
'items' => $order->get_items(),
'show_download_links' => $show_download_links,
'show_sku' => $show_sku,
'show_purchase_note' => $show_purchase_note,
'show_image' => true,
'image_size' => $image_size,
));
return ob_get_clean();
}
Erik TM
No code in the description….
Deep Bhatt
It's great. Really help me.
Sir I'm getting an issue in,…… woocommerce order… I want get notifications instantly as the order placed. At that time, I'm not getting instent notification email, it's taking 45 min to 1 hour. Can u pls help my fix this issue
Lone Lioness
Here's where to find the code. https://wplearninglab.com/how-to-add-more-information-to-woocommerce-order-emails/
Lone Lioness
Where's the link for the code? Also how do you display all order meta like variables & custom fields in the email?
Murray Tymms
Great content, thank you 👍
Taverna de Quadrinhos
How could I make different menus (1 for the header and one for the sticky header) in Elementor?
Manu Altilio
Hi, somehow, when someone buys something, my clients receives an email without the order detaisls (size and color) do you know why is that happening? thaks!
Daniel Curcin
Great vid. When your respective theme requires an update does it overwrite/delete the copied php file? Fair to assume you would need to create a child theme first?
chris maddox
I have been looking for something like this, Thanks for making a tutorial on this and sharing it, great video keep them coming 🙂
Mark Nasri
thanks, great video, to the point