Product/ Cart Based Rules and Common Applications
Product/ Cart based rules are probably the most common ways to determine what you want to show your customer! If they are looking at a specific item or if they have a specific item(s) in the cart, you can choose what to present in your Rebuy widget!
With this rule type, we have several options and logical operators. Products, Product Vendor, Product Tag, Product Title, Product Type, and Product Handle.
Products(This is referring to the product page the customer is on or the items in the cart)
Product Vendor
Product Tag
Product Title
Product Type
Product Handle.
Logical Operators and What They Mean:
Logical operators are how we determine when we want our rule to match and our customer to see the product(s) we've chosen to Upsell and Cross-sell! Here is a list of the available operators:
Equals Anything: The Customer is on any product page or anything is in the cart. (Most commonly used).
Contains Any: The customer is on any of the specified product display pages or any of the specified products are in the cart. (Most commonly used).
Does Not Contain Any: None of the specified items are in the cart. (Less Common).
Contains All: All specified items are in the cart. (Less Common).
Does Not Contain All: The cart does not contain all of the specified items. (Less Common).
Equals: The cart only contains the specified items and nothing else. (Not commonly used).
Does Not Equal: The cart does not exactly contain the specified items. (Not commonly used).
Example of "Equals Anything":
The Products "Equals Anything" is one of the most common logical operators and the easiest to work with! It means that IF the customer is on any product page or anything is in the cart, RETURN the specified item(s), collection, or data source.
Example of "Contains Any":
The Products "Contains Any" rule is the most popular option for creating rules. It gives you a little bit more control over when the item(s) to return are displayed in a widget. IF the customer is looking at any single one of the specified items, or one (or more) of those items are now in the cart, RETURN the specified item(s), collection, or data source.
Example of "Does Not Contain Any":
The Products "Does Not Contain Any" rule is the inverse option of the "Contains Any" operator. It gives you the same amount of control over when the item(s) to return are displayed in a widget. IF the customer is not looking at any single one of the specified items, or none of those items are in the cart, RETURN the specified item(s), collection, or data source.
Example of "Contains All":
The Products "Contains All" rule is much more specific and a bit trickier to use and more focused on the Cart. IF the Cart has ALL of the specified items, RETURN the specified item(s), collection, or data source.
Example of "Does Not Contain All":
The Products "Does Not Contain All" rule is the inverse of the "Contains All" operator and a bit easier to use. This is also focused on the contents of the Cart. IF the contents of Cart does not have ALL of the specified items, RETURN the specified item(s), collection, or data source.
Example of "Equals":
The "Equals" operator is strict and doesn't allow for wiggle room like the other operators. This is also focused on the contents of the Cart. IF the contents of Cart ONLY HAVE the specified item(s), RETURN the specified item(s), collection, or data source.
Example of "Does Not Equal":
The "Does Not Equal" operator is less strict than "Equals" but is essentially the same thing. This is also focused on the contents of the Cart. IF the contents of Cart does not have ALL of the specified items, RETURN the specified item(s), collection, or data source.
Additional Product/Cart-based rules! Product Vendor, Product Tag, Product Title, Product Type, Product Handle.
You can opt to use these rule selectors and the same logical operators as shown above to do all sorts of awesome personalized recommendations!