How is inventory of bundles updated on my store?
A bundle product is packed after receiving an order. A bundle product must have the components defined in the Bundles List page.
For bundle products, we check the inventory of the components defined in the bundle. The inventory is updated on the basis of minimum available stock of the component.
Let's say we have a product called Pack of 30 Mango Juices which is a bundle product. The component of this product is individual bottles of Mango juices.
The current inventory of Mango Juice bottles is 200. Then, inventory to update for the Pack of 30 Mango Juices will be 6 (200 divided by 30). When the inventory of mango juice bottles reaches below 30, the inventory to update for pack of 30 mango juices is 0 because there are not enough mango juice bottles available to create a pack of 30.
If there are more than 1 component in the bundle BOM the minimum value is used.
Qty to update for bundle = Min(component available stock) / component qty in bundle)
Below table shows how quantity will be updated on Shopify:
Product | Available Stock | Qty to Update |
Mango Juice Bottle | 200 | 200 |
Bundle of 10 Mango Juices |
- | 20 (200 / 10) |
Bundle of 20 Mango Juices |
- | 10 (200 / 20) |
Orange Juice Bottle | 60 | 60 |
Bundle of 10 Orange Juices |
- | 6 (60 / 10) |
Bundle of 20 Orange Juices |
- | 3 (60 / 20) |