This example prevents an eligible item from being purchased alone, allowing purchase only together with another product. Use it for optional add-ons or novelty items that must always be purchased as part of a set with another product.
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] Cannot Be Purchased Individually.
When the bundle rule is enabled, the combination of items in the entire cart is evaluated at checkout.
Eligible item only: purchase is not allowed.
Eligible item + a non-eligible item: purchase is allowed.
Eligible item + a different eligible item (no non-eligible item): purchase is not allowed.
Note: Items specified as "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 | Standalone purchase not allowed → With other products |
Eligible items | Products not to be sold on their own |
Excluded items | Set if needed |
Product message | Enter if needed |
Display timing | Checkout only (set automatically) |
Alert message | Enter if needed |
Note: If you select "With other products," the display timing is fixed to "Checkout only." It is not evaluated on the cart page.
(3) Save and enable the bundle rule
After saving the settings, select "Enable." Saving alone does not apply the bundle limit.
(4) Check the behavior
Check the result at checkout, both with only the eligible item in the cart and with a non-eligible item added.
Purchase is allowed as long as the cart contains at least one item other than the eligible item. To limit the required item to a specific product, set the bundle limit level to "Standalone purchase not allowed" → "With specified items."
If you don't want auto-added items such as gift wrapping to count as "another product," specify them as "Excluded items." Adding only excluded items does not satisfy the condition.
Variables cannot be used in the product message or alert message for bundle rules.