Example: Exclusive Cross-Sell
In this guide, we will ensure that a specific accessory, "Lens Protection Kit", is visible ONLY if the customer has a "Camera" in their cart.
Step-by-Step Configuration
-
Create a New Rule
Go to Settings > Product Visibility > Rules and click Add Rule.
-
Set General Info
Title: Lens Kit Cross-Sell
Enabled: Yes -
Define What to Hide (The Accessory)
Filter Type: Product
Filter Value: Lens Protection Kit -
Choose "Show" (Whitelist)
We want to Show this accessory only when the condition is met.
Visibility Action: Show (Whitelist)
-
Set the Cart Condition
Condition Type: Cart Contains Product
Operator: IN
Value: Camera (The main product)This condition checks if the specified product(s) are currently inside the customer's cart.
-
Save the Rule
Click Save Rule.
Result
- Cart Empty or No Camera: The "Lens Protection Kit" is completely hidden.
- Customer adds "Camera" to Cart: The "Lens Protection Kit" suddenly appears in the Shop, Related Products, and Search results.