[Solved] Bundle product in stock even though one of the simple products is out of stock

Alexandru Sas Asks: Bundle product in stock even though one of the simple products is out of stock
I recently discovered a problem – if I have a bundle product with 3 simple products (all set as standard) and one of them is out of stock, the whole bundle product remains in stock. If I try to add the bundle product to cart, it just displays the remaining 2 products, and i can add it to cart, which is not ok. If one of the simple products in the bundle is out of stock, the whole bundle should be out of stock.
Same goes if 2 are missing from the 3. It just displays the one remaining and I can add it to cart.

I have looked everywhere in frontend and can’t find the solution

Does anyone know what I should modify in order for this to be ok? Thanks a lot in advance!!

Ten-tools.com may not be responsible for the answers or solutions given to any question asked by the users. All Answers or responses are user generated answers and we do not have proof of its validity or correctness. Please vote for the answer that helped you in order to help others find out which is the most helpful answer. Questions labeled as solved may be solved or may not be solved depending on the type of question and the date posted for some posts may be scheduled to be deleted periodically. Do not hesitate to share your response here to help other visitors like you. Thank you, Ten-tools.