In this tutorial I will explain in detail how the inventory calculation is handled by the app.

Lets talk about a Shaving Kit bundle which consists of 1 Shaving Foam, 2 Razors , 1 Shaving Brush and 1 After Shave.  So the Shaving Kit bundle is made up of 4 child products.

Inventory of the Bundle Product

A bundle is made up pf child products and its inventory is also based on the inventory of the child components.   So lets say you are selling a shaving kit bundle on your website. Here are 4 possible cases.

  1. A bundle is purchased – Someone buys a kit. The app then deducts appropriate quantities for the child products. So if someone buys a kit, the app will deduct 1 each from Saving Foam, Shaving Brush and After shave and 2 from Razor.  App will then re calculate the bundle inventory (based on new inventory value of child products. The recalculated inventory will be pushed to Shopify by the app.
  2. A child component is purchased – Lets say someone buys a razor.  Since the inventory of product component is changed, the app will recalculate the bundle inventory and push it to Shopify. The app will rec-calculate the bundle inventory after every sale of a child component.
  3. A child product gets sold out – Say Shaving brush is now out of stock. The app will recalculate the bundle inventory as 0. So the Shaving Kit will also appear as sold out on your store.
  4. Insufficient quantity of a child product – Lets say there is only one Razor left , while our Shaving Kit requires  Razors. In this case also the app will re-calculate the bundle inventory as 0.

Take note that you need to have “Shopify Tracks Inventory” for the bundle as well as all the child components.

In case you set a bundle product as “Shopify Not Tracking Inventory“, the app will assume that there is always an infinite quantity of the bundle available. So in this case even if the child products runs out of stock, the bundle will still be available for purchase.