Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

change page size on admin/orders.php


Recommended Posts

Line 363 of admin/orders.php:


$orders_split = new splitPageResults($HTTP_GET_VARS['page'], MAX_DISPLAY_SEARCH_RESULTS, $orders_query_raw, $orders_query_numrows);


To display more orders, you'll need to either change the MAX_DISPLAY_SEARCH_RESULTS config variable ("Search Results" in the admin section under Configuration > Maximum Values) or hard code a value in the line above.


Note that if you hard code it, you also need to alter lines 388 and 389


<td class="smallText" valign="top"><?php echo $orders_split->display_count($orders_query_numrows, MAX_DISPLAY_SEARCH_RESULTS, $HTTP_GET_VARS['page'], TEXT_DISPLAY_NUMBER_OF_ORDERS); ?></td>
				<td class="smallText" align="right"><?php echo $orders_split->display_links($orders_query_numrows, MAX_DISPLAY_SEARCH_RESULTS, MAX_DISPLAY_PAGE_LINKS, $HTTP_GET_VARS['page'], tep_get_all_get_params(array('page', 'oID', 'action'))); ?></td>



Discount Coupon Codes


Link to comment
Share on other sites


This topic is now archived and is closed to further replies.

  • Create New...