Post by ocfema » Sat Jan 19, 2019 1:43 am

Hi, I just upgraded from v2.3.0.2 to 3.0.3.1_rc. The only issue so far is that the dashboard stats in the left column (Orders Completed, Orders Processing, Other Statuses) all show 0%. Is this a bug or will it start working after new orders come in?

Thanks for your help :-)

Newbie

Posts

Joined
Sat Jan 19, 2019 1:38 am

Post by xxvirusxx » Sat Nov 30, 2019 4:13 pm

I know this post is old, but maybe would help others.

Sometime when upgrade, values from oc_statistics are not inserted/added in database and that's why Dashboard statistics show all 0%.

To fix this issue, just insert values using phpMyAdmin

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);
After that Dashboard statistics will not be 0%.

Upgrade Service | OC 2.3.0.2 PHP 8 | My Custom OC 3.0.3.8 | Buy me a beer


User avatar
Expert Member

Posts

Joined
Tue Jul 17, 2012 10:35 pm
Location - România
Who is online

Users browsing this forum: No registered users and 111 guests