Mechanic Get Mechanic

Shopify Function · Bundles and cart transforms

Sell two component variants as one Shopify bundle

Sell a pair of products under one bundle variant. When the buyer adds it to the cart, Shopify expands it into one of each component you choose.

How the rule works

  1. When
    The shopper adds the bundle variant to their cart.
    Then
    Expand each bundle into one unit of each of the two component variants you selected.

What shoppers see

Two-item bundle
The bundle expands to 1 × 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