Plugin Support
Praveen a11n
(@spraveenitpro)
Automattic Happiness Engineer
Hi @joomlakust,
Here is the template located for the order items listed in the email. You can override them like this.
Cheers!
Hi Praveen,
Thank you very much – I have properly checked all files except those. This was very helpful. Just one more I can’t work out:
In the total price <td> is lists the price and then the VAT in a parenthesis. I would like a line break before this parenthesis, but it would seem I need to go in the <?php echo $total[‘value’]; ?> code. Where can I do this?
Regards
A gentle bump for this question. Regards
I think what you are looking for is in templates/order/order-details-item.php at line 68. Your custom template will need to test the foreach key in each loop and manipulate the label for the total line using string functions. You won’t be able to manipulate the label as its created because its put together in one of the includes, abstract-wc-order.php or class-wc-order.php, not sure which, and they can’t be customised without inhibiting future plugin updates.
Plugin Support
Hannah S.L.
(@fernashes)
Automattic Happiness Engineer
We haven’t heard back from you in a while, so I’m going to mark this as resolved – if you have any further questions, you can start a new thread.