Shopify Function · Bundles and cart transforms
Build a multipack with different component quantities
Expand a bundle into two units of one variant and one unit of another.
How the rule works
-
- When
- The shopper adds the multipack variant to their cart.
- Then
- Expand each multipack into two units of the first component and one of the second.
What shoppers see
- Bundle parent
- The bundle expands to 2 × Black T-shirt, 1 × Canvas tote.
- Components only
- The items stay in the cart as added.
Set it up in your shop
Select the bundle and component variants from your catalog. Check the quantities in a matching cart and confirm what happens when one component is missing.
Open the rule as a draft in Mechanic. Test it with your products before publishing.
Customize this Function in Mechanic