View Single Post
  #4  
Old 10-26-2011, 09:06 AM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,201
 

Default Re: Add "View All" to "Products Per Page" Dropdown

for ($i = 5; 50 >= $i; $i = $i + 5) {
$perPageValues[] = $i;
}

$perPageValues[2000] = 'View All';

This will only show the selection option - you still have to implement the code what will happen when this options is selected - if you have over 2000 products not all will show
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote