7/17/2011

How to change default quantity on Magento Product Page

By default magento shows zero in the place of quantity text field in product details page, if you wish to change then just login to your admin panel go to System->Configuration->Catalog->inventory.

There, add your minimal quantity from Minimum Qty Allowed in Shopping Cart

See the below screenshot to make it more clear

7 comments:

  1. Anonymous4/04/2013

    I've created the minimum quantity of 1 in the default config but it doesn't show up in any of my other stores and the option isn't available to them in their configs. Any ideas?

    ReplyDelete
    Replies
    1. You have to change it for all store view from Current Configuration Scope

      Delete
  2. Hi, I have one store. I change minimun quantity to 1, clear cache, reindex but it still show 0.How can I do?

    ReplyDelete
  3. Hey can you please help me :
    What if instead of disabling the product, when the product is out of stock, is there a way to clear all customers shopping cart of this product

    ReplyDelete
    Replies
    1. Yes there is, You have to write observer which will fired after add product to the cart then check if any product is out of stock then empty the cart session

      Delete
  4. Thank you so much Anjan..

    Perfectly works out

    ReplyDelete