To link a product to a warehouse product or a recipe, go to the Warehousing tab on the product page
There you will find three options:
- Warehouse disabled: Selling a product doesn’t reduce any warehousing products
- Link warehouse product: Every time the product is sold, it reduces an specified amount of a warehouse item
- Link recipe: Every time the product is sold, it reduces specific amounts of multiple items from the warehouse


The guide on how to create a recipe is here How To Create A Recipe