Hi,
I searched a long time to get tax displayed in the email for each single product. This is really quick and dirty. Should be done with vqmod.
I use Version 1.5.1.3
File: catalog/model/checkout/order.php
search: $template->data['products'][] = array(
...);
replace with:
$price = $product['price'] + ($product['tax'] / $product['quantity']);
$total = $product['total'] + $product['tax'];
$template->data['products'][] = array(
'name' => $product['name'],
'model' => $product['model'],
'option' => $option_data,
'quantity' => $product['quantity'],
'price' => $this->currency->format($price, $order_info['currency_code'], $order_info['currency_value']),
'total' => $this->currency->format($total, $order_info['currency_code'], $order_info['currency_value'])
);
I searched a long time to get tax displayed in the email for each single product. This is really quick and dirty. Should be done with vqmod.
I use Version 1.5.1.3
File: catalog/model/checkout/order.php
search: $template->data['products'][] = array(
...);
replace with:
$price = $product['price'] + ($product['tax'] / $product['quantity']);
$total = $product['total'] + $product['tax'];
$template->data['products'][] = array(
'name' => $product['name'],
'model' => $product['model'],
'option' => $option_data,
'quantity' => $product['quantity'],
'price' => $this->currency->format($price, $order_info['currency_code'], $order_info['currency_value']),
'total' => $this->currency->format($total, $order_info['currency_code'], $order_info['currency_value'])
);
Hiya,
Does anyone have a solution for this for 1.5.2.1?
Would appreciate it very much! This is the last issue I'm having right now with the ordering and tax process!
Thanks!
M
Does anyone have a solution for this for 1.5.2.1?
Would appreciate it very much! This is the last issue I'm having right now with the ordering and tax process!
Thanks!
M
Thanks!
I also make this change in admin/controller/sale/order.php around line 1318 search $this->data['products'][] = array( instead of $template->data['products'][] = array( .
Then I have the price inclusive tax at the orders products too, price with tax on single products?
Know someone where you change if you want the same on the invoice
I also make this change in admin/controller/sale/order.php around line 1318 search $this->data['products'][] = array( instead of $template->data['products'][] = array( .
Then I have the price inclusive tax at the orders products too, price with tax on single products?
Know someone where you change if you want the same on the invoice
OMG! Thank you so much! I've been looking for a fix for this for weeks!! Superstar!
Do you have a fix for on the invoice itself within the system... we have the same problem there but I'm not sure where that file is to change...
Any help would be much appreciated!
Do you have a fix for on the invoice itself within the system... we have the same problem there but I'm not sure where that file is to change...
Any help would be much appreciated!
I have also find where I should change so I get the price with tax on single products at the invoice.
It was also in admin/controller/sale/order.php around line 2051add I
$price = $product['price'] + ($product['tax'] / $product['quantity']);
$total = $product['total'] + $product['tax'];
Then I change the line for 'price' => and total' => to:
'price' => $this->currency->format($price, $order_info['currency_code'], $order_info['currency_value']),
'total' => $this->currency->format($total, $order_info['currency_code'], $order_info['currency_value'])
It´s someone who could help to make a vqmod for this? I have try without sucess.
It was also in admin/controller/sale/order.php around line 2051add I
$price = $product['price'] + ($product['tax'] / $product['quantity']);
$total = $product['total'] + $product['tax'];
Then I change the line for 'price' => and total' => to:
'price' => $this->currency->format($price, $order_info['currency_code'], $order_info['currency_value']),
'total' => $this->currency->format($total, $order_info['currency_code'], $order_info['currency_value'])
It´s someone who could help to make a vqmod for this? I have try without sucess.
I've made a VQMod to take care of these matters. It changes the prices to prices incl taxes at the orders at admin, at invoices and at customers e-mail. It works fine for me with OC 1.5.1.3.. I would like to add the tax at the shipping costs as well, but I'm not sure what code to edit. I would be happy to get some advise. No support at this mod!
Updated VQMod shows products incl tax in the confirm page as well.
Really great work, I hope you can keep it up. Showing shipping cost incl. tax would be the last major tweak I would need to feel satisfied 
Since you managed to get this far, I'm probably not going to be with any help. But am I right when it should be somewhere in total/shipping.tpl, checkout/shipping.tpl and checkout/guest_shipping.tpl the code needs to be altered?

Since you managed to get this far, I'm probably not going to be with any help. But am I right when it should be somewhere in total/shipping.tpl, checkout/shipping.tpl and checkout/guest_shipping.tpl the code needs to be altered?
vQmod for shipping price (sub-total) to include tax:
http://forum.opencart.com/viewtopic.php?f=131&t=86673
http://forum.opencart.com/viewtopic.php?f=131&t=86673
I heart cmd-f, cmd-c, cmd-v, cmd-z + vQmod.
My favourite page...
v1.5.4.1
Who is online
Users browsing this forum: No registered users and 12 guests