https://github.com/Kaik/CodeIkebanaStatistics.ocmod
It does not use ocmod modifications it is completely event based. It disables the original event.
Apart from that, I have found that statistic order sale total is based on selected statuses while the one used in dashboard Total sale is all statuses > 0.
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
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
I do have more modules on git that are public, but these can be/are coded badly, not working/dangerous as I do not update them, so please do not use them on production sites and if you do not have a good PHP/OC knowledge you should not use any of my modules and stuff...
straightlight hopefully that will fix all the problems you mentioned

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
Code: Select all
INSERT INTO `oc_statistics` (`statistics_id`, `code`, `value`) VALUES
(1, 'order_sale', 0),
(2, 'order_processing', 0),
(3, 'order_complete', 0),
(4, 'order_other', 0),
(5, 'returns', 0),
(6, 'product', 0),
(7, 'review', 0);
Reason: Added code tags.
phpmyadmin > os_statistics
The query sure won't work.INSERT INTO `oc_statistics`
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
by alertzone » Wed Jan 01, 2020 5:59 pm
Go to Admin Panel>Reports> click on Statistics
in the Statistics list refresh all action button and then show all progress on Dashboard successfully!
LOL!!! Your solution (the simplest solution) workedmrlawrencelam wrote: ↑Mon Oct 19, 2020 7:44 pmI am on v3.0.3.6. This works for me:
by alertzone » Wed Jan 01, 2020 5:59 pm
Go to Admin Panel>Reports> click on Statistics
in the Statistics list refresh all action button and then show all progress on Dashboard successfully!
Users browsing this forum: Hemidart and 18 guests