Shwoing the number of products in osCommerce cart is very simple;
This will show the total number of items in a persons cart.
You can go further with this and say something like;
But this will not be grammatically correct if only 1 item is in the cart, In this case we say;
Now the code will determine whether to say “item” or “items” depending upon the number of items in the cart.