View Single Post
  #3  
Old 10-26-2011, 03:29 AM
 
nickff nickff is offline
 

Senior Member
  
Join Date: Aug 2010
Posts: 132
 

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

Hey Steve,

I just noticed that. Here's where I'm guessing I need to make a change:

PHP Code:
$perPageValues = array();

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

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

I totally get how to change the values in the dropdown, but I'm a bit unclear as to how to add one option to the end of the dropdown with a value of, let's say, 2000 that reads in the dropdown as "View All".

Any idea on how to implement that type of a selection into this thing?
__________________
nick hoag
looking forward to the future
http://thefutureforward.com
xcart versions 4.2.x, 4.3.x, 4.4.x
Reply With Quote