How to Add The Minimum Quantity Next to the Headline Price in Magento

In Magento the minimum quantity for a product isn’t necessarily obvious as standard it sits in the quantity field. It may be beneficial in some circumstances to make it a little more obvious i.e. in b2b style selling, where you may have different products with difference minimum quantities all over the website. It was recently necessary for me to have the min quantity displayed on a site like this:

—————–

£17.95

Minimum Order Quantity : 10

—————–

To achieve this firstly get your tierprices.phtml from:

public_html/app/design/frontend/base/default/template/catalog/product/view/

All you have to do is to add this line in the appropiate place:

<?php $_productItem = $_product->getStockItem() ?><strong>Minimum Order Quantity : <?php echo $_productItem->getQty()*1 ?></strong>

I put mine just above the tier pricing… so immediately above this line:

<?php if (count($_tierPrices) > 0): ?>

Works on Version 1.6.2.0 – don’t forget to clear your cache!

Leave a Reply

Your email address will not be published. Required fields are marked *

Previous Post

How to add Static Blocks to a Magento Contact Page

Next Post

Beginners Guide to Getting Rich Snippets Star Ratings in SERPS

Related Posts