View Single Post
  #5  
Old 10-26-2011, 10:31 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,

Thanks for the tip.

I've got it setup like so:

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


$perPageValues[2000] = 'View All'

Here's the result - http://future.thefutureforward.com/~clover/home.php?cat=1

Like you said, this put "View All" into both the "Value" and the "Text" of the option value. While I need it to be the "Text", I need "2000" to be the value.

I tried replacing the value with jQuery, but to no avail. Any thoughts on how to get 2000 to be the value?
__________________
nick hoag
looking forward to the future
http://thefutureforward.com
xcart versions 4.2.x, 4.3.x, 4.4.x
Reply With Quote