Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Items per page

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 05-13-2009, 04:22 AM
 
dpm dpm is offline
 

Advanced Member
  
Join Date: Aug 2007
Posts: 43
 

Default Items per page

Is there a way or a mod to show "items displayed" on your category page? For instance, I have my products set to show 40 products per page and I have 120 products. On the first page it would display "Showing items 1 - 40 of 120" on the second page it would display "Showing items 41 - 80 of 120" and the third page it would show "Showing items 81 - 120 of 120". If they choose to view all it would show. "Showing items 1 - 120 of 120"... etc

I've played around with {$current_category.product_count } & $navigation_page but cant get the logic straight.

Anyone have any ideas or know of a mod?

Thanks,
DPM
__________________
x-cart-4.1.8gold
Reply With Quote
  #2  
Old 05-13-2009, 07:30 AM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,190
 

Default Re: Items per page

You mean like the image below right? You need to look at the search templates. The code you want is there
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote
  #3  
Old 05-13-2009, 10:12 AM
 
dpm dpm is offline
 

Advanced Member
  
Join Date: Aug 2007
Posts: 43
 

Default Re: Items per page

Cool, thanks... I didnt think of that. I will check it out!

EDIT: Works like a charm! I appreciate it!
__________________
x-cart-4.1.8gold
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 04:11 PM.

   

 
X-Cart forums © 2001-2020