Post by SirHelsinki » Sat Jun 06, 2020 4:01 am

Hi,
I have complete orders and processing orders but why is it not showing in the box? Take a look at the image? I have opencart 3.0.3.2

Thanks!

Attachments

complete.jpg

complete.jpg (15.16 KiB) Viewed 346 times


New member

Posts

Joined
Sun Apr 26, 2020 1:16 pm

Post by opencartmart » Sun Jun 07, 2020 7:47 pm

It is a bug. To fix, do followings:

File: catalog/controller/event/statistics.php.

Change the following line:

Code: Select all

public function addOrderHistory(&$route, &$args, &$output)
to

Code: Select all

public function addOrderHistory(&$route, &$args)
and run the following SQL in your PHPMyAdmin

Code: Select all

UPDATE `oc_event` SET `trigger` = 'catalog/model/checkout/order/addOrderHistory/before' WHERE `code` = 'statistics_order_history'
Attention: Adjust DB prefix in the SQL if it is not `oc_`
Last edited by straightlight on Sun Jun 07, 2020 9:31 pm, edited 1 time in total.
Reason: Added code tags.

XForm - Opencart Form Builder
Xshippingpro - An advanced Shipping Module
Need Professional support? Skype: opencartmart


Active Member

Posts

Joined
Wed Oct 02, 2013 3:59 am

Post by straightlight » Sun Jun 07, 2020 9:33 pm

Fixed in the pre-release. Thanks.

The most generated errors being found on Opencart forum originates from contributed programming. The increased post counters are caused by redundancies of the same solutions that were already provided prior.


Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by straightlight » Sun Jun 07, 2020 9:33 pm

This topic has now been moved to the OpenCart 3.0 Support > Bug Reports section of the forum.

The most generated errors being found on Opencart forum originates from contributed programming. The increased post counters are caused by redundancies of the same solutions that were already provided prior.


Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON
Who is online

Users browsing this forum: No registered users and 10 guests