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
For quick, professional OpenCart support please email info@antropy.co.uk
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...
For quick, professional OpenCart support please email info@antropy.co.uk
Who is online
Users browsing this forum: paulfeakins, saberazami and 16 guests