Example business rules for products
Use these examples as models for creating your own rules or use them to better understand how to create rules
The following are some example business rules. To demonstrate the use of Rule Type and Rule
class, the Target on this first set of rules is All Targets.
| Example | Procedure to Use | Rule Target | Rule Class and Type for the Example |
|---|---|---|---|
| 1. You have excess inventory of a product and need to generate more sales. You want the product to appear as a recommendation for All products. | Promoting products | All Targets | Promotion>Promote a Specific Item>specify Product ID |
| 2. You include a warranty with every product, but do not sell the warranties separately. Therefore, you never want warranties to appear as recommendations. | Excluding categories of products | All Targets | Exclusion>Exclude By Category>select the Warranty category |
| 3. You want to promote a larger variety of products, so you don't want to include recommendations within the same category level of the target product. | Excluding by comparing attributes with the target | All Targets | Exclusion>Exclude by Attribute>Recommendation Attribute to Target Attribute Exclusion>Product Category ID does not match node 1 of target Attribute |
| 4. You include a free product with every order and do not want this product to appear as a recommendation. | Excluding specific items | All Targets | Exclusion>Exclude by ID>specify the Product ID |
| 5. You have a top selling product that does not need to be recommended. | Excluding specific items | All Targets | Exclusion>Exclude by ID>specify the Product ID |
| 6. You don't want to recommend products with inventory fewer than 10 units. | Excluding based on the value of an attribute | All products | Exclusion>Exclude by Attribute>Recommendation Attribute Exclusion>Inventory [<] is less than 10 |
| 7. You want to recommend only products with a different brand name than the target product. | Excluding by comparing attributes with the target | All Targets | Exclusion>Exclude by Attribute>Recommendation Attribute to Target Attribute Exclusion>Brand is X. |
| 8. You want to recommend only products of the same brand as the target product. | Excluding by comparing attributes with the target | All Targets | Exclude>Exclude by Attribute>Recommendation Attribute to Target Attribute Exclusion>Brand is not X. |
| 9. You sell gift cards (product ID 005531), but you want to recommend them only if there are no other recommendations. | De-emphasizing specific items | All Targets | De-emphasis by Criteria> De-emphasis by ID>005531 |
| 10. You want products with inventory fewer than 20 units to appear at the end of the recommendation list. | De-emphasizing based on the value of an attribute | All Targets | Exclude>by Attribute>Recommendation Attribute Exclusion>Inventory [<] is less than 20 |
| 11. You want products with a price less than $10 to appear at the end of the recommendation list. | De-emphasizing based on the value of an attribute | All Targets | De-emphasis by Criteria> De-emphasis by Attribute>Recommendation Attribute De-emphasis >Price [<] is less than 10 |
| 12. You want products on clearance to be at the end of the recommendation list. | De-emphasizing based on the value of an attribute | All Targets | De-emphasis by Criteria>De-emphasis by Attribute>Recommendation Attribute to Target Attribute Exclusion>Brand is Clearance. |
| 13. You want products of the same brand as the target product to be included as recommendation, but only at the end of the recommendation list. | De-emphasizing by comparing attributes with the target | All Targets | De-emphasis by Criteria > De-emphasis by Attribute>Recommendation Attribute De-emphasis > Brand is target Attribute |
| 14. You want to promote products across multiple categories. So, if a recommendation is in the same category as a higher-ranked recommendation, you want to move it to the end of the recommendation list. | De-emphasizing items that match the selected attribute of a higher ranked recommendation | All Targets | De-emphasis by Similarity>De-emphasis by Attribute>Product Category ID |
| 15. You want to promote products across multiple brands. So, if a recommendation has the same brand name of a higher-ranked recommendation, you want to move it to the end of the recommendation list. | De-emphasizing items that match the selected attribute of a higher ranked recommendation | All Targets | De-emphasis by Similarity>De-emphasis by Attribute>Brand |
| 16. You don't want to recommend products with a price less than $5. | Excluding based on the value of an attribute | All Targets | Exclusion>Exclude by Attribute>Recommendation Attribute Exclusion>Price [<] is less than 5 |
The following are more examples of business rules that use a combination of Rule Target, Rule Type, and Rule Class.
| Example | Procedure to Use | Rule Target | Rule Type and Class |
|---|---|---|---|
| 17. You have a new camera that you want to promote for any target product in the Camera category. This promotion lasts 90 days. | Promoting products | Select from Categories>Camera | Promotion>Promote a Specific Item>Schedule Promotion>Specify a 90-day date range. |
| 18. For target products with a price less than $10, recommend only products that are also less than $10. | Excluding based on the value of an attribute | Select from Attributes>Price [<] is less than 10 | Exclusion>Exclude by Attribute > Recommendation Attribute Exclusion>Price [>] is greater than 10 |
| 19. For target products over $200, you don't want to recommend products with a price less (60%) than the target. | Excluding based on the value of an attribute | Select from Attributes>Price [>] is greater than 200 | Exclusion>Exclude by Attribute > Recommendation Attribute to Target Attribute Exclusion>Price [<] is less than 60% of the target Price |
| 20. For camera products, you want products of the same brand higher on the recommendation list. | De-emphasizing based on the value of an attribute | Select from Categories>Camera | De-emphasis by Criteria>De-emphasis by Attribute > Recommendation Attribute De-emphasis > Brand is not target Attribute |
| 21. For the Camera product ID 008221, you want to recommend only products of Brand X. | Excluding based on the value of an attribute | Select from Categories>Camera Input List>008221 | Exclusion>Exclude by Attribute > Recommendation Attribute Exclusion>Brand is not X. |
| 22. You want a category of products that has a lower profit margin (Category name is Dollar) to appear only at the end of the recommendation list. | De-emphasizing categories of products | Select from Categories>Dollar | De-emphasize by Criteria>De-emphasis By Category>select the Dollar category |