Home > Software engineering >  Adding More Column in Customer OSCommerce Admin Page
Adding More Column in Customer OSCommerce Admin Page

Time:08-11

i'm a little bit struggling regarding how can i add more column in the costumer tabs in the admin page OSCommerce. As we can i only can display 8 customer in one page. How can i increase it ?

enter image description here

Thank you so much

CodePudding user response:

I can't say for sure without seeing your catalog/admin/customers.php file... Is the following code in your customers.php file?

$customers_split = new splitPageResults($HTTP_GET_VARS['page'], MAX_DISPLAY_SEARCH_RESULTS, $customers_query_raw, $customers_query_numrows);

If so, then check the value of MAX_DISPLAY_SEARCH_RESULTS in your database. MAX_DISPLAY_SEARCH_RESULTS is in the 'configuration" table. If it is set to 8 then adjust it to the number of customer rows you prefer to see in the customers table.

Keep in mind that MAX_DISPLAY_SEARCH_RESULTS is used elsewhere and whatever value you adjust it too will be used everywhere MAX_DISPLAY_SEARCH_RESULTS is used.

  • Related