millend Posted March 8, 2008 Posted March 8, 2008 Hello, Could some kind person help me a little and tell me how is it possible to make the default no. products (currently only three) in statistics view a higher no. It is not very comfortable to select pages from drop down and move to second page only to see next three most viewed products... Thank you in advance...
Jan Zonjee Posted March 9, 2008 Posted March 9, 2008 Could some kind person help me a little and tell me how is it possible to make the default no. products (currently only three) in statistics view a higher no. In the admin the define MAX_SEARCH_RESULTS is used for that and that is a setting in admin->configuration->maximum values->Search Results (2nd in the list). This also determines the number of products in the catalog listings so it probably is something you don't want to change. Slightly more work is adding a new define MAX_DISPLAY_SEARCH_RESULTS_ADMIN for the admin side with this sql command: INSERT INTO configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) VALUES ('Search Results in Admin', 'MAX_DISPLAY_SEARCH_RESULTS_ADMIN', '20', 'Amount of items to show in admin listings', '3', '3', now()); The number 20 you can change in the admin: admin->configuration->maximum values->Search Results Admin. Now in the admin file(s) you want to use the new number of listings you replace all occurrences of MAX_DISPLAY_SEARCH_RESULTS with MAX_DISPLAY_SEARCH_RESULTS_ADMIN (find and replace function in your text editor).
Recommended Posts
Archived
This topic is now archived and is closed to further replies.