Try the Demo

Magento Forum

   
Decrease stock after adding a product to cart
 
joaosvu
Jr. Member
 
Avatar
Total Posts:  6
Joined:  2011-04-08
 

Hi,

I would like to ask for the help of Magento community to solve a problem. I need to know how to decrease stock not after an order is placed but after the product is added to cart. How can I do this programming? Does anybody have an idea? Yes, I know this is not recommended but I’m working on a development of an online store and the customer (store owner) requested this to my boss and I have to do, simply. Please, anybody could help me with this damn idea?

Thousands of thank you!

 Signature 

Everybody lies.

 
Magento Community Magento Community
Magento Community
Magento Community
 
Siggi_Schmitz
Guru
 
Avatar
Total Posts:  619
Joined:  2011-07-03
 

Hi,

search and catch with an own observer a event, which is fired when the product is added to cart and then decrease the stock, i think this will help you: http://stackoverflow.com/questions/11139516/cannot-update-stock-item-quantity-for-a-product-in-magento-1-6-2

 Signature 

Magento Freelancer.

Need an extension? Feel free to contact me!

Web: http://www.sig-tec.de
E-Mail:
Skype: sig-tec
Xing: https://www.xing.com/profile/Siegfried_Schmitz2
Profil auf freelance.de
Profil auf freelancermap.de

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
    Back to top