Reputation: 1437
I have a client which requires the order confirmation/completion emails to include the 'PO subtotal' which is the amount they will actually pay (product subtotal + shipping cost). We would also like to move the 'payment method' to the bottom of the list, and rename some others.
For example, the section of the email currently looks like this:
But the client needs it to look like this:
I don't need to update the website front or back ends, only the emails, although it doesn't matter if it also updates the front end. Is this possible? Thanks.
Upvotes: 1
Views: 611
Reputation: 4943
Would it be ok if it did update the display on the site as well? If so, the woocommerce_get_order_item_totals
filter lets you re-arrange and add new rows there.
If not, you could:
WC_Email
's $sending
for that.email-order-details.php
to do what you want (copied into your theme, not editing the original).Upvotes: 1