An example that allows bundling only among eligible items, restricting bundling with non-eligible products. Use this when you want customers to combine and purchase only within a specific group of products.
Prerequisite: The initial setup for bundle limits must be complete. If you haven't done this yet, see "Initial Setup (Bundle Limits)".
You can check the behavior after setup in [Demo] Ice Cream Can Be Purchased Together.
When you enable the bundle rule, it evaluates the combination of items in the entire cart whenever the cart contains an eligible item.
Eligible items only (the same applies whether it's one type or multiple types): purchase is allowed.
Eligible item + a non-eligible item: purchase is not allowed.
Non-eligible items only: purchase is allowed (not subject to this rule's evaluation).
Note: Products specified in "Excluded items" are treated as neither eligible items nor non-eligible items, and are not included in the bundle evaluation.
(1) Create a bundle rule
Open the app admin → "Bundle rules" → "Create rule".
(2) Enter the settings
Configure the following.
Field | Value |
|---|---|
Title | Any internal title |
Bundle limit level | Bundle only with specific items → Eligible items in this rule |
Eligible items | Specify all the products you want to allow to be bundled |
Excluded items | Set as needed |
Product message | Enter as needed |
Display timing | Cart updated and checkout |
Alert message | Enter as needed |
(3) Save and enable the bundle rule
After saving the settings, select "Enable". Bundle limits are not applied just by saving.
(4) Check the behavior
Check the result when the cart is updated and at checkout, both with multiple types of eligible items added to the cart and with a non-eligible product added.
If even one product not included in the eligible items is added to the cart, the purchase is not allowed. Make sure to include all products you want to allow bundling for in the eligible items.
To exclude a specific product from the evaluation, specify it under "Excluded items".
Variables cannot be used in the product message or alert message for bundle rules.