0

When I go to System -> Configuration -> Catalog -> Inventory -> Product Stock Options, I can change Maximum Qty Allowed in Shopping Cart.

I need to do that in setup script. How to do that via setup script? I tried setStoreConfig but I probably used wrong node and it is not working.

1
Mage::getConfig()->saveConfig('cataloginventory/item_options/max_sale_qty', '10000', 'default', 0);

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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