Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Admin Customer Listing


netfrugal

Recommended Posts

The setting is in admin>>configuration>>maximum values>>search results

This setting affects all search results including the catalog.  You may wish to hard code your preferred number into admin/customers.php - look for:

MAX_DISPLAY_SEARCH_RESULTS

 

You can insert the desired number in place of the above (it occurs several times in the file).

 

HTH

 

Matti

Link to comment
Share on other sites

I would not recommend changing all the MAX_DISPLAY_SEARCH_RESULTS values to a hard coded number. Instead at the top of the file paste this:

$MAX_DISPLAY_SEARCH_RESULTS = 20;

Change the number to whatever you want. Next, find and replace every instance of MAX_DISPLAY_SEARCH_RESULTS with $MAX_DISPLAY_SEARCH_RESULTS. This will change it from using the defined constact to a variable (which was defined at the top of the file).

 

This way if you want to change the number displayed per page later you won't have to change "X" number of entries. Just change the variable and it will take care of all of them...one change, global script effect.

 

Bobby

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...