Datafeedr Support Forums

Datafeedr Support Forums (/index.php)
-   Questions (/forumdisplay.php?f=67)
-   -   Total items/products found (/showthread.php?t=9573)

atlantistarget September 6th, 2013 12:01 PM

Total items/products found
 
Hello. How can I include the total amount of products found in a search? may be above pagination... something like "we have found xxxx products with the words you search" and then the number of products...

Thanks...!

Javier

Eric September 6th, 2013 12:11 PM

Hi,

To add the total number of products that are returned on a Search page or a Category page, you can add the following code to your Product list module on either of those pages:

HTML Code:

<?php echo 'We found '.$pcount.' products that match your search.'; ?>
Eric


All times are GMT -5. The time now is 01:14 PM.

Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.