| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Total number of products and current prodcuts displayed. | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||||
|
|||||||||
Total number of products and current prodcuts displayed.
Having some trouble with this one.
Want something like this Showing 1-33 of 354 products The 1-33 are the current products being displayed and the 354 is the total number of products in the category. Been trying this one for about 2 hours and I give
__________________
xcart 5.1.2 |
|||||||||
#2
|
|||||||||
|
|||||||||
Re: Total number of products and current prodcuts displayed.
See this for starter and change it to what you need
Code:
__________________
Steve Stoyanov CFLSystems.com Web Development |
|||||||||
#3
|
|||||||||
|
|||||||||
Re: Total number of products and current prodcuts displayed.
I want htis on the products page, not the search page.
__________________
xcart 5.1.2 |
|||||||||
#4
|
|||||||||
|
|||||||||
Re: Total number of products and current prodcuts displayed.
Yes I just pointed you to where you can find code that does this. You will have to change it of course and put it where you need it. But if you follow this code and find out where and how "$total_items" is coming from you will have it
__________________
Steve Stoyanov CFLSystems.com Web Development |
|||||||||
#5
|
|||||||||
|
|||||||||
Re: Total number of products and current prodcuts displayed.
Doesn't seem like the info is available on products_t.tpl and I'm not sure how to get it there.
Look like it's coming from /includes/search.php but search.php is included in products.php. a little confused here.
__________________
xcart 5.1.2 |
|||||||||
|
|||
X-Cart forums © 2001-2020
|