Guest Posted January 14, 2005 Posted January 14, 2005 Hi folks, I have just about finished constructing my site, I need to display products inclusive of VAT which is no problem. The problem lies at the end of the check out on the confirmation page, I am currently displaying:- Sub total: Shipping: VAT: Total: The problem is on the sub total, I need this to display the price before tax because at the moment it is displaying with tax and so far I cannot see a way of achiving this. Help much appreciated. Mark R
sjd256 Posted January 14, 2005 Posted January 14, 2005 Go into admin - Modules - Order Totals and set the Sort order to your preference. HTH Cheers Steve
Guest Posted January 14, 2005 Posted January 14, 2005 Go into admin - Modules - Order Totals and set theSort order to your preference. HTH Cheers Steve <{POST_SNAPBACK}> Thanks for the reply Steve, I dont mean the physical sort order as they appear, what I actually meant was I want the sub-total to display the amount minus the VAT. At the moment it will be quite confusing to customers because at present the sub-total is inclusive of VAT and then they will be lead to believe they are paying it again when they see the VAT cost total. Regards Mark
Guest Posted January 16, 2005 Posted January 16, 2005 Thanks for the reply Steve, I dont mean the physical sort order as they appear, what I actually meant was I want the sub-total to display the amount minus the VAT. At the moment it will be quite confusing to customers because at present the sub-total is inclusive of VAT and then they will be lead to believe they are paying it again when they see the VAT cost total. Regards Mark <{POST_SNAPBACK}> Bump
Hkanaris Posted July 25, 2005 Posted July 25, 2005 Mark, did you ever solve this problem?? I am having the same issues
Guest Posted July 25, 2005 Posted July 25, 2005 Mark, did you ever solve this problem?? I am having the same issues <{POST_SNAPBACK}> I second that - need to sort this one out myself. So any feedback would be great.
Guest Posted July 25, 2005 Posted July 25, 2005 Yep same problem here :( Suprised that everyone dosn't have this problem.
price351 Posted August 4, 2005 Posted August 4, 2005 Same problem, Thanks for not spamming the forums...
Hkanaris Posted August 8, 2005 Posted August 8, 2005 Same problem, <{POST_SNAPBACK}> So we all have the same problem, yet nobody has a solution? Surely this has come up many time before?
Guest Posted August 8, 2005 Posted August 8, 2005 In the file ot_subtotal.php (folder includes/modules/order_totals/) you have to make some changes. Somewhere around line 29 you should make the following changes to the function process() function process() { global $order, $currencies; $this->output[] = array('title' => $this->title . ':', // Edited for display without tax in the subtotal at checkout_confirmation. // Original 'text' => $currencies->format($order->info['subtotal'], true, $order->info['currency'], $order->info['currency_value']), 'text' => $currencies->format(($order->info['subtotal'])-($order->info['tax']), true, $order->info['currency'], $order->info['currency_value']), // Original 'value' => $order->info['subtotal']); 'value' => ($order->info['subtotal'])-($order->info['tax'])); }
Hkanaris Posted August 15, 2005 Posted August 15, 2005 Thanks for this works as I need it to. Now to be a little bit cheecky, is there a way of having the delivery showing ex vat, and adding the vat of the delivery into the vat total? Eg Sub Total: ex vat Delivery : ex vat Vat 17.5% : vat total Total : total inc :D
netmotiv8 Posted December 18, 2005 Posted December 18, 2005 Thanks for this works as I need it to. Now to be a little bit cheecky, is there a way of having the delivery showing ex vat, and adding the vat of the delivery into the vat total? Eg Sub Total: ex vat Delivery : ex vat Vat 17.5% : vat total Total : total inc :D Hi, Did you manage to get the mod to have delivery showing ex VAT? Neil :D
Guest Posted May 18, 2006 Posted May 18, 2006 In the file ot_subtotal.php (folder includes/modules/order_totals/) you have to make some changes. Somewhere around line 29 you should make the following changes to the function process() function process() { global $order, $currencies; $this->output[] = array('title' => $this->title . ':', // Edited for display without tax in the subtotal at checkout_confirmation. // Original 'text' => $currencies->format($order->info['subtotal'], true, $order->info['currency'], $order->info['currency_value']), 'text' => $currencies->format(($order->info['subtotal'])-($order->info['tax']), true, $order->info['currency'], $order->info['currency_value']), // Original 'value' => $order->info['subtotal']); 'value' => ($order->info['subtotal'])-($order->info['tax'])); } After 2 days of searching, this worked. Thank you. I have another problem now though. The sub total is inflating the price by a unit of 2 (eg. $2), regardless of what the price is. Example: Item costs 200 and tax is 14% in the checkout process this comes up as: sub total 202 tax 28 shipping 31 total 261 Where would this extra 2 be coming from and how would I fix it? Help would be HUGELY appreciated!
Guest Posted May 18, 2006 Posted May 18, 2006 After 2 days of searching, this worked. Thank you. I have another problem now though. The sub total is inflating the price by a unit of 2 (eg. $2), regardless of what the price is. Example: Item costs 200 and tax is 14% in the checkout process this comes up as: sub total 202 tax 28 shipping 31 total 261 Where would this extra 2 be coming from and how would I fix it? Help would be HUGELY appreciated! Sorted. In case anyone else has this: It was happening on products that were loaded before I added this fix. On new products it's fine.
Manolito Posted June 13, 2006 Posted June 13, 2006 Is this possible to do this with the ot_shipping.php aswell? I want to have the shipping excl tax in the confirmation page. I've tried but I don't know the value for the shipping tax.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.