Question

I’m looking for a way to update “Manage Stock” on all child products of a Configurable Product when the parent is updated. ie When a parent is toggled to “No” for “Manage Stock”, I would like it to set all the Associated Simple Products to “No” as well. Currently, Magento (EE 1.13) does not do this for us, and we have to change all the children individually. Not much of an issue when there is just a couple of children, but we have many configurable products with 50 or more associated products. Hopefully, someone knows of a quick and easy way to do this (like an extension or setting), and can save us a lot of clicking. TIA

Was it helpful?

Solution

What exactly is your problem here? How to do it?

Implement an observer Listen to cataloginventory_stock_item_save_before check whether the product is configurable and origData against data and if the status changed.

If yes, get all the associated products and update the stock items too.

Licensed under: CC-BY-SA with attribution
Not affiliated with magento.stackexchange
scroll top