Post by danijr » Mon Mar 27, 2017 7:08 pm

How do I get totals order :) O0

Code: Select all

$data['totals'] = $total_data;
<?php echo $totals; ?>

New member

Posts

Joined
Fri Dec 02, 2016 10:28 pm

Post by Jsf » Mon Apr 10, 2017 2:44 pm

It depends where you want to get orders info, but something like this:

Code: Select all

$this->load->model('sale/order');
$order_total = $this->model_sale_order->getTotalOrders($filter_data);

/*
My personal OpenCart modules list
*/


User avatar
Jsf
New member

Posts

Joined
Sun Jan 26, 2014 4:08 am
Who is online

Users browsing this forum: No registered users and 2 guests