Skip to main content

SOLVED: Invoice: place price per unit with tax

More
12 years 11 months ago - 12 years 11 months ago #127177 by scharfet
-- HikaShop version -- : 2.0.0
-- Joomla version -- : 2.5.14

Hello,

I need to add in the invoice the price per unit without and with tax included.

What is the correct php code to add the price per unit with tax?



Thank you for your help!
Last edit: 12 years 11 months ago by scharfet.

Please Log in or Create an account to join the conversation.

More
12 years 11 months ago #127219 by Jerome
Hi

I guess you already have the answer in the code itself:
Code:
<td class="hikashop_order_item_price_value"> <?php if($this->config->get('price_with_tax')){ echo $this->currencyHelper->format($product->order_product_price+$product->order_product_tax,$this->order->order_currency_id); }else{ echo $this->currencyHelper->format($product->order_product_price,$this->order->order_currency_id); } ?> </td>
Regards,

Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
The following user(s) said Thank You: scharfet

Please Log in or Create an account to join the conversation.

More
12 years 11 months ago #127222 by scharfet

Please Log in or Create an account to join the conversation.

Time to create page: 0.155 seconds
Powered by Kunena Forum