[Bundles] Make One Item Mandatory When Another Is Added
Summary
In this scenario, we utilize the MinCart "Activation Rules" feature available in the "Gatekeeper" plan. The objective is to restrict customers from purchasing a specific item or an item from a certain collection unless they have already added a designated item or an item from another collection to their cart.
For example, let's consider an "Unlocked Gift" product from a collection that can only be purchased if a "Must Purchase" product from another collection is also in the cart. This setup involves creating two limits:
Inactive Limit: Configured for the "Unlocked Gift," which acts as a rule to check whether the "Must Purchase" is in the cart.
Main Active Limit: Ensures that checkout is blocked unless the "Must Purchase" is also in the cart.
This approach allows you to enforce conditional purchasing rules effectively.
Step 1: Set Up an Inactive Limit for the "Unlocked Gift" Product or Collection
Follow these steps to create an inactive limit for the "Unlocked Gift" product or collection:
Create a New Limit: Go to your MinCart settings and click Create Limit.
Select Limit Type: Choose Product or Collection depending on whether you want to unlock a specific product or an entire collection.
Name the Limit: Assign a unique name such as "Unlocked Product/Collection" to clearly indicate its purpose.
Deactivate the Limit: Uncheck the Active box to make this limit inactive.
Set Audience Type: Select Everyone, unless you want to restrict the limit to a specific audience segment.
Choose Items to Target: Select the product or collection you want to unlock.
Set Limits: Choose By Quantity as the limit type.
Define Minimum Quantity: Set the Minimum Quantity to 1.
Force the Limit: Check the Force Limit option to ensure compliance.
Save Your Changes: Click Save to finalize the inactive limit.
This inactive limit will serve as a rule for unlocking the specified product or collection.
Step 2: Create the Main Limit to Require the Vinyl Product
Follow these steps to set up the main limit that enforces the requirement for the Vinyl product or collection:
Create a New Limit: Go to your MinCart settings and click Create Limit.
Select Limit Type: Choose Product if the requirement applies to a specific product, or Collection if it applies to a product within a collection.
Name the Limit: Assign a clear name such as "Required for Unlock" to indicate its purpose.
Activate the Limit: Ensure the Active box is checked.
Set Audience Type: Choose Everyone, unless you want to restrict this limit to a specific audience.
Choose Items to Target: Select the product or collection required to unlock the other product or collection.
Set Limits: Choose By Quantity as the limit type.
Define Minimum Quantity: Set the Minimum Quantity to 1.
Force the Limit: Check the Force Limit option to enforce this rule.
Edit Quantity Limit Text: Add a message to clarify to customers what is required, such as, "This item can only be purchased if [required product] is also in the cart."
Set Activation Rules: Add a rule stating "Limit 'Rule: The first limit created' is respected" to ensure this limit works in conjunction with the inactive limit.
Click Save to finalize the setup. This main limit will enforce the requirement for the product or collection to be in the cart, enabling the unlocking of the specified item or collection.
Now, when a customer attempts to make a purchase without adding the required product or collection to unlock the specified items, they will see a pop-up notification explaining the requirements. This ensures they understand what is needed to proceed with their purchase.
Updated on: 04/12/2024
Thank you!