the taxes are part of the totals array.
OpenCart commercial mods and development http://spotonsolutions.net
Layered Navigation
Shipment Tracking
Vehicle Year/Make/Model Filter
Right, but how can i use this in other file?
Exemple, in "confirm.php" i found it here:
$total_data = array();
$total = 0;
$taxes = $this->cart->getTaxes();
But when i will use this in other file, it doens't work with the way that i sayd
Exemple, in "confirm.php" i found it here:
$total_data = array();
$total = 0;
$taxes = $this->cart->getTaxes();
But when i will use this in other file, it doens't work with the way that i sayd
$this->cart->getTaxes(); will get you the product taxes
But if you want the taxes on shipping and anything else, then you'd need to either run that whole totals code on the page you want it.. or if it loads AFTER the confirm page, then you could try setting it to the session as cheap global variable
But if you want the taxes on shipping and anything else, then you'd need to either run that whole totals code on the page you want it.. or if it loads AFTER the confirm page, then you could try setting it to the session as cheap global variable
Who is online
Users browsing this forum: Bing [Bot] and 89 guests