Title: html-order-item.php
Last modified: November 15, 2019

---

# html-order-item.php

 *  Resolved [garf3r](https://wordpress.org/support/users/garf3r/)
 * (@garf3r)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/html-order-item-php/)
 * Trying to get the Item Total to add the Item Tax, narrowed it down that the location
   of the code is in html-order-item.php
 * On line 79/80 we have:
    `echo wc_price( $item->get_total(), array( 'currency'
   => $order->get_currency() ) );`
 * I want to change this so it adds the item Tax into the Totals column, i have 
   tried to do this:
    `echo wc_price( wc_get_price_including_tax( $product ), array('
   currency' => $order->get_currency() ) );`
 * whilst it shows the amount, it doesn’t do the currency conversion if it’s in 
   say Eur or USD (shop is in GBP), so there is surely a better way to add the item
   tax and item price together for the item totals block, anyone shed some light
   on this? Not sure why the total wouldn’t have the tax included in this column
   as standard!

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Support [Fernando a11n](https://wordpress.org/support/users/fhaps/)
 * (@fhaps)
 * Automattic Happiness Engineer
 * [6 years, 5 months ago](https://wordpress.org/support/topic/html-order-item-php/#post-12166037)
 * > Trying to get the Item Total to add the Item Tax
 * I’m not sure what you mean by this. Can you elaborate? Please share more details
   about what you are trying to accomplish, versus what you currently see on your
   website.
 * It sounds like you are trying to get the product total to include taxes. That
   is how it works out of the box, so I’m wondering whether I’m misunderstanding
   your enquiry.
 *  Plugin Support [Fernando a11n](https://wordpress.org/support/users/fhaps/)
 * (@fhaps)
 * Automattic Happiness Engineer
 * [6 years, 5 months ago](https://wordpress.org/support/topic/html-order-item-php/#post-12190435)
 * 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.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘html-order-item.php’ is closed to new replies.

 * ![](https://ps.w.org/woocommerce/assets/icon.svg?rev=3234504)
 * [WooCommerce](https://wordpress.org/plugins/woocommerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Fernando a11n](https://wordpress.org/support/users/fhaps/)
 * Last activity: [6 years, 5 months ago](https://wordpress.org/support/topic/html-order-item-php/#post-12190435)
 * Status: resolved