List product items, Product Group

Hi All
how to show the component of the product in the screen ex.(i have shop to sell flowers, I have one product called “love box” it’s made from groups of flowers which we sell separately also )
so when i select this box , I want to list the flowers name under the box name

then i want to add how many products i have in the store, and when i sell any thing it will be decreased from the inventory,
also for the box, lets say i sell a box made from 3 kind of flowers so those three flowers must be deleted from the inventory

The second discussion about inventory includes a lot of v5 specific features. Some of it can relate to v4 though you should be able to get the idea. PS: Highly recommend upgrading to v5.