<aside>
💡 A bundle is a rule: When the quantity of the parent changes, the quantities of the children change
</aside>
Uses
- Traditionally bundles are used to sell a bundle of products to a customer. For example:
- A discounted package which includes both a t-shirt and pair of pants
- A package of 6 pencils
- Bundles can also be used to manage parts. For example:
- When a customer orders a sandwich, that purchase uses 2 pieces of bread and 1 slice of cheese.
Terminology
- Parent: This is what the customer buys. This is the variant that changes.
- Child: This is what the customer receives. These are the variants that get changed when the parent changes.
How it works
The rule is: When the inventory of a parent changes because an order or refund is made, then the inventory of the children is adjusted by the amount set for that child in the bundle.
Track parent quantity
The number of units of the parent that are available for purchase will automatically be adjusted based on the how many could be purchased based on the availability of its children.
For example:
- If a bundle is a pack of 6 pencils, then the number of packs available for purchase will automatically be adjusted based on the number of individual pencils that are in stock.
- If there are 11 pencils in stock, then only 1 pack would be available for purchase. The parent’s inventory quantity would be adjusted to 1.
- Then later, if you were to receive another pencil and the number of child pencils increase to 12, then the number of parent pencil bundles would be automatically adjusted to 2.
Setup
Create a bundle is simple:
-
Name your bundle
-
Choose the parent
<aside>
💡 You will need to create the parent variant in Shopify like all other products
</aside>
-
Select one or more children