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
|