in which file is the calculation of the total ?
which line do i have to change for the total to be rounded?
Look in /catalog/model/checkout/order.php
UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk
Guru Member
i tried to round() here:
'comment' => $order_query->row['comment'],
'total' => $order_query->row['total'],
'order_status_id' => $order_query->row['order_status_id'],
...and here twice:
if (isset($data['totals'])) {
foreach ($data['totals'] as $total) {
it doesnt work. where exactly is the total calculated? the total is also viewable on top right button, so i'm not sure if order.php is the right file...
'comment' => $order_query->row['comment'],
'total' => $order_query->row['total'],
'order_status_id' => $order_query->row['order_status_id'],
...and here twice:
if (isset($data['totals'])) {
foreach ($data['totals'] as $total) {
it doesnt work. where exactly is the total calculated? the total is also viewable on top right button, so i'm not sure if order.php is the right file...
UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk
Guru Member
Who is online
Users browsing this forum: NicNie and 372 guests