0

I have read the below post to show sku but now i need to show Minimum Order Qty on product page. Please guide me how can i show Minimum order quantity.

Post is :

https://magento.stackexchange.com/questions/42511/sku-in-magento-product-page-description?answertab=oldest#tab-top1

2 Answers 2

0

Working code are below.

<?php
$loadProduct = Mage::getModel('catalog/product')->load( $_product->getId() ); ?>
<label for="qty"><?php echo $this->__('Minimum Quantity:') ?>
    <span class="h1"><?php echo $this->getMinimalQty($loadProduct); ?></span>Piece/s
</label>`
0

You can get that by adding at your view.phtml

<?php if ($_product->getMinimumQuantity()):?>
       <div class="minimum-quantity">
            <div class="std"><?php echo $_helper->productAttribute($_product, nl2br($_product->getMinimumQuantity()), 'min_qty') ?></div>
                </div>
  <?php endif;?>
0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.