How to change the text inside the order details table in the New Order email
-
Hello!
When my client gets an order, woo sends them an email (the New Order email)The table that appears in this email lists all the contents of the order, and the prices. In the Price column, the prices are suffixed by the words “ex. tax” – but they are not excluding tax. All pricing on the website is done inclusive of tax.
I cannot find where to change the content of this table: all i want to to is remove those references to tax entirely.
It’s not in the email template
admin-new-order.php
which simply has the following:/** * @hooked WC_Emails::order_details() Shows the order details table. * @hooked WC_Emails::order_schema_markup() Adds Schema.org markup. * @since 2.5.0 */ do_action( 'woocommerce_email_order_details', $order, $sent_to_admin, $plain_text, $email ); /** * @hooked WC_Emails::order_meta() Shows order meta data. */ do_action( 'woocommerce_email_order_meta', $order, $sent_to_admin, $plain_text, $email );
Where do I find those woocommerce_email_order_details and woocommerce_email_order_meta so I can remove the text? Or is that not the way to do it?
- The topic ‘How to change the text inside the order details table in the New Order email’ is closed to new replies.