How the inventory works
When the customer buy a bundle, it deducts the inventory of the products that belong to the current bundle
The bundle becomes Out of stock if any product included in it runs out of inventory and there are no variants of this product that have inventory left and this variant is included in the bundle
So here is an example bundle:
● 1 duvet cover (variant 'A' - 1 pcs., variant 'B' - 0 pcs.)
● 1 fitted sheet (variant 'C' - 1 pcs., variant 'D' - 0 pcs.)
● 1 pair of pillowcases (variant 'E' - 1 pcs., variant 'F' - 0 pcs.)
If the customer buys one bundle then the app will decrease:
● 1 duvet cover (-1 pcs.) in variant 'A'
● 1 fitted sheet (-1 pcs.) in variant 'C'
● 1 pair of pillowcases (-1 pcs.) in variant 'E'
Bundle becomes out of stock
And this is simple. Let me add fake inventory level:
● 1 duvet cover (+2 pcs.) in variant 'B'
● 1 fitted sheet (+ 1 pcs.) in variant 'D'
● 1 pair of pillowcases (+2 pcs.) in variant 'F'
Then:
● bundle - in stock 1 pcs. (we can't sell more because there is only 1 pcs. of fitted
sheet variant 'D')
And customer buy 1 pcs of a fitted sheet in variant 'D'. Then inventory level will look
like below:
● bundle - out of stock
● 1 duvet cover - 2 pcs. in variant 'B'
● 1 fitted sheet - 0 pcs. (stop selling) in variant 'D'
● 1 pair of pillowcases - 2 pcs. in variant 'F'
If a customer would not buy 1 pcs of a fitted sheet and he buys 1 bundle then
inventory level will look like below:
● bundle - out of stock
● 1 duvet cover - 1 pcs. in variant 'B'
● 1 fitted sheet - 0 pcs. (stop selling) in variant 'D'
● 1 pair of pillowcases - 1 pcs. in variant 'F'
The bundle takes the inventory sum from all locations where the bundled product is stored. When a customer purchases a bundle, it deducts the inventory from the first location. If this location runs out of inventory, the bundle takes the leftovers from the next one, and so on
The bundle becomes Out of stock if any product included in it runs out of inventory and there are no variants of this product that have inventory left and this variant is included in the bundle
So here is an example bundle:
● 1 duvet cover (variant 'A' - 1 pcs., variant 'B' - 0 pcs.)
● 1 fitted sheet (variant 'C' - 1 pcs., variant 'D' - 0 pcs.)
● 1 pair of pillowcases (variant 'E' - 1 pcs., variant 'F' - 0 pcs.)
If the customer buys one bundle then the app will decrease:
● 1 duvet cover (-1 pcs.) in variant 'A'
● 1 fitted sheet (-1 pcs.) in variant 'C'
● 1 pair of pillowcases (-1 pcs.) in variant 'E'
Bundle becomes out of stock
And this is simple. Let me add fake inventory level:
● 1 duvet cover (+2 pcs.) in variant 'B'
● 1 fitted sheet (+ 1 pcs.) in variant 'D'
● 1 pair of pillowcases (+2 pcs.) in variant 'F'
Then:
● bundle - in stock 1 pcs. (we can't sell more because there is only 1 pcs. of fitted
sheet variant 'D')
And customer buy 1 pcs of a fitted sheet in variant 'D'. Then inventory level will look
like below:
● bundle - out of stock
● 1 duvet cover - 2 pcs. in variant 'B'
● 1 fitted sheet - 0 pcs. (stop selling) in variant 'D'
● 1 pair of pillowcases - 2 pcs. in variant 'F'
If a customer would not buy 1 pcs of a fitted sheet and he buys 1 bundle then
inventory level will look like below:
● bundle - out of stock
● 1 duvet cover - 1 pcs. in variant 'B'
● 1 fitted sheet - 0 pcs. (stop selling) in variant 'D'
● 1 pair of pillowcases - 1 pcs. in variant 'F'
Multiple locations
The bundle takes the inventory sum from all locations where the bundled product is stored. When a customer purchases a bundle, it deducts the inventory from the first location. If this location runs out of inventory, the bundle takes the leftovers from the next one, and so on
Updated on: 15/05/2023
Thank you!