#StackBounty: #magento2.4 #manage-stock Magento 2: Need to check function for auto stock status changed

Bounty: 50

I have configurable products and its child items in Magento 2.4 admin panel
I have 3 child items for one configurable parent. If I set out of stock for 2 items and save then parent would be in in stock. If I save child items with out of stock then when I check status of parent stock status it automatically stock to out of stock because all child items are out of stock so parent automatically become out of stock so I need to check the which function doing this stuff ?

I looked at into files save() function is the responsible into below file location to doing above stuff ?



Get this bounty!!!

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.