Remove product tax from email
-
Hello,
I want to remove the tax information for each order item and from the delivery servicefrom the vendor order email. I am using a dokan multi vendor plugin.
I am using the following script to remove the vendor address from the customer processing order:
add_action( ‘woocommerce_email_before_order_table’, ‘remove_vendor_address_specific_email’, 20, 4 );
function remove_vendor_address_specific_email( $order, $sent_to_admin, $plain_text, $email ) {
if ( $email->id == ‘customer_processing_order’ ) {
remove_action( ‘woocommerce_order_item_meta_end’, ‘dokan_attach_vendor_address’, 10 );
}
}How can change the script for my question ?
The topic ‘Remove product tax from email’ is closed to new replies.