New Case Case Status
Log In


Display Product Count on Sites
  • RSS Feed

Last modified on 5/19/2010 1:33 PM by User.


Display Product Count on Sites


To display the number of products in your database on your site, just put the following code wherever you want in your templates :


If you have millions of products you may prefer :

${php:number_format(product_find_count(), 0, '', ',')}


to add a comma between the thousands to make it more readable.