Magento is a really good e-commerce platform yet there are a number of quirks or missing features that you come across as you start developing ecommerce websites.
One quirk, or ‘missing feature’, is that there is no ‘show all’ functionality within the default pagination. From within the administration user interface you can set the number of products per page to show but not to show all (This is now available in the latest versions of Magento).
Another missing feature is that by default, the number of items within stock are not shown on the product page. The interface shows if the product is in/out of stock but not how many there are in stock. I know this may not be something you would necessarily want to show, but again you’d expect this to be a setting within the admin UI.
Showing stock levels on you product page within Magento is not particularly difficult for simple product types & I’ll show you how to achieve it. It means editing a template file within your Magento template, so you’ll need ftp access to your server.
1) The file you need to edit is app/design/frontend/default/default/template/category/product/view/type/simple.phtml
2) The code you need to replace is:
<?php if($_product->isSaleable()): ?> <p><?php echo $this->__('Availability: In stock.') ?></p> <?php else: ?>
What this means is that if the product is in stock, the customer sees how many items are in stock. Not what everybody wants, but our client did. You can see the result in this image.