View Single Post
  #7  
Old 10-26-2011, 12:18 PM
 
nickff nickff is offline
 

Senior Member
  
Join Date: Aug 2010
Posts: 132
 

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

Hmm, tried that and it still seems to be rendering the following html:

HTML Code:
<option value="View All">View All</option>

Instead of:

HTML Code:
<option value="2000">View All</option>

Here's the current PHP:

PHP Code:
for ($i 50100 >= $i$i $i 50) { 
            
$perPageValues[] = $i
        } 

        
$perPageValues['2000'] = 'View All';

        
$smarty->assign('per_page',         'Y');
        
$smarty->assign('per_page_values',  $perPageValues); 

Thanks for all your help on this Steve. It's so appreciated.
__________________
nick hoag
looking forward to the future
http://thefutureforward.com
xcart versions 4.2.x, 4.3.x, 4.4.x
Reply With Quote