Post by benlhe » Fri Jun 10, 2011 2:17 pm

I'm using v1.4.9.3. By default, OpenCart dashboard display 10 latest orders. How can I make it to display more, say:20, 50 or even 100?

Any advise is appreciated.
Thanks
Last edited by benlhe on Sat Dec 10, 2011 6:02 am, edited 2 times in total.

Ben Lai
WWW.QQBOX.MY (v.1.4.9.3)


User avatar
New member

Posts

Joined
Thu Feb 10, 2011 4:33 pm

Post by justinv » Fri Jun 10, 2011 2:46 pm

edit admin/controller/common/home.php

Find this:

Code: Select all

$data = array(
			'sort'  => 'o.date_added',
			'order' => 'DESC',
			'start' => 0,
			'limit' => 10
		);
Change the 10 to whatever number you like.

Documentation: OpenCart User Guide
Mods: Total Import PRO | CSV Import PRO | Ecom Tracking | Any Feed | Autosuggest | OpenCart CDN
Image


Active Member

Posts

Joined
Tue Oct 12, 2010 1:24 pm

Post by benlhe » Fri Jun 10, 2011 4:40 pm

excellent.. thanks !!!

Ben Lai
WWW.QQBOX.MY (v.1.4.9.3)


User avatar
New member

Posts

Joined
Thu Feb 10, 2011 4:33 pm

Post by marleyortan » Fri Jun 10, 2011 6:37 pm

Hello to all. I want to know how to edit numbers of order displayed on dashboard? Please tell me.

Newbie

Posts

Joined
Fri Jun 10, 2011 6:35 pm

Post by SXGuy » Fri Jun 10, 2011 6:39 pm

marleyortan wrote:Hello to all. I want to know how to edit numbers of order displayed on dashboard? Please tell me.
Take more orders, or delete orders. :)

Active Member

Posts

Joined
Sun Nov 08, 2009 2:07 am

Post by benlhe » Thu Jun 16, 2011 1:44 am

marleyortan wrote:Hello to all. I want to know how to edit numbers of order displayed on dashboard? Please tell me.
Refer to the solution above (2nd) posted by justinv..

Ben Lai
WWW.QQBOX.MY (v.1.4.9.3)


User avatar
New member

Posts

Joined
Thu Feb 10, 2011 4:33 pm

Post by kiml9 » Thu Mar 01, 2018 6:42 pm

justinv wrote:
Fri Jun 10, 2011 2:46 pm
edit admin/controller/common/home.php

Find this:

Code: Select all

$data = array(
			'sort'  => 'o.date_added',
			'order' => 'DESC',
			'start' => 0,
			'limit' => 10
		);
Change the 10 to whatever number you like.

Works for OC 2.3.0.2 as well except you need to edit the same code in this file "/admin/controller/extension/dashboard/recent.php".

Newbie

Posts

Joined
Tue Nov 07, 2017 6:00 pm

Post by godly75 » Mon Oct 22, 2018 2:28 am

Any idea in OC3.0.2.0 where this file is?

Active Member

Posts

Joined
Fri Oct 27, 2017 1:21 am
Who is online

Users browsing this forum: No registered users and 304 guests