![]() |
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 :( |
Re: Total number of products and current prodcuts displayed.
See this for starter and change it to what you need
Code:
{if $mode eq "search"} |
Re: Total number of products and current prodcuts displayed.
I want htis on the products page, not the search page.
|
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
|
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. |
All times are GMT -8. The time now is 01:26 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.