When you create an order in WooCommerce, you’ll be given the option to send an email order confirmation to the customer. This will allow them to confirm that they’ve placed an order with you, and will give you the opportunity to send them additional information or updates about their order.
To send an email order confirmation in WooCommerce, first make sure that you have the correct email address for your customer. You can find this information in your WooCommerce account under the Orders tab, under the order details section. Once you have the correct email address, you can send the order confirmation email by following these steps:
1. Open your WooCommerce account.
2. Click on the Orders tab.
3. Under the order details section, find the email address of the customer who placed the order.
4. Click on the email address to open the corresponding panel.
5. Under the Email Settings tab, find the Send Email Confirmation checkbox and click on it to enable it.
6. Enter the email address of the person who will receive the order confirmation email in the To field.
7. In the Subject field, enter a subject for the email.
8. In the Body field, enter the text of the email order confirmation.
9. Click on the Send Email button to send the email.
10. If the customer has already received an order confirmation email from you, they will see a message in their inbox telling them that a new order confirmation is waiting for them.
If the customer has not received an order confirmation email from you, they will see a message asking them to confirm their order.
Before you add any code to your site, it is always recommended that you create a backup of your site first. This will ensure that you can restore your site if something goes wrong.
When adding code to your WooCommerce site, it is best to use a child theme so that your changes are not lost when the parent theme is updated. If you are not familiar with creating a child theme, there are plenty of tutorials available online.
Once you have backed up your site and created a child theme, you can add the following code snippet to your child theme’s functions.php file:
add_action( ‘woocommerce_thankyou’, ‘my_custom_confirmation_email’ );
function my_custom_confirmation_email( $order_id ) {
$order = wc_get_order( $order_id );
$billing_email = $order->get_
The customer can confirm their order by clicking on the link in the email, or by entering their email address into the Order Confirmation form on your WooCommerce website. Once the customer confirms their order, the order will be processed and the items will be delivered to them.
If you need to change any of the details in the email order confirmation, such as the email address or subject, you can do so by clicking on the Edit link next to the Email Settings tab.