In this article you will learn how to create rules for the following per product discount: if a customer spends 100€, then they will get a 20% discount on the category "shoes". 

Instead of giving a general discount on a customer's entire shopping cart, you can filter for specific cart items, by category or SKU and apply discounts to those products. 

Before you can start, your system must be integrated with Talon.One and have at least one active Application.

Tip: This is just one example of a discount campaign you can create with Talon.One. You can build highly customized rules using your data. Get in touch if you want help or advice for building more complex promotions.

Step 1. Create A Campaign

First create a New Campaign in your preferred application. Give your campaign a name and if required, select Coupons and Referrals (these features must be activated if you want to access these settings). You can also modify this later in Settings.



Step 2. Add Rules

Once your campaign is created, navigate to the Rule Builder from your campaign Dashboard. This is where you define the logic of your campaign by adding Conditions and Effects.  Click Add Rules.  


Step 3. Filter Cart Items

For this product discount, the first step when your building rules  is to Filter Cart Items. You will see Filter Cart Items on the right next to Conditions.

Use these filters to sort the items in your customers cart depending on your campaign requirements. Now follow these steps to create a cart filter for the category "shoes": 
  1. Click Filter Cart Items then select Set a filter condition
  2. Choose Item Category then select your operator "is equal to" and enter the value "shoes". Click on the condition and the fields will become editable. The palette will open so you can select an attribute or you can type in a value or formula.
  3. Give your Cart Item Filter a name then click save. Choose something recognizable like "ShoesCartItems" - you will use this later in your effects 
 

Tip: This is just one example of a Cart Item Filter, you can filter your customer cart items by Item, SKU, Quantity or other custom attributes to extend your integration and create more dynamic rules.

Step 4. Add Conditions

You can enter a variety of conditions to add complexity to your product discount. To add a condition, follow these steps:
  • Click Add Condition and choose Select Attribute. The palette will expand so you can search or scroll through the available attributes. 
  • To set a condition for a minimum order value, choose the attribute "Session Total" then select the operator "is equal to" and then "100".
This is just one example of a condition. Depending on how you filter cart items, you can also create conditions using Cart Item Filters

Step 5. Add Effects

Define what effects will take place when the conditions you created are evaluated and "true". Follow these steps to set the effect for your product discount: 
  1. Click Add Effect the select Apply Cart Item Discount from the drop down. 
  2. Now you will add the Cart Item Filter you have saved in Step 2. Click on the line to edit, and select "Shoes_Cart Items" from the palette. 
  3. Next click Pick an Effect then select Per item discount and enter the discount value. 


Now you know how to create a Product Discount in Talon.One. This is just one basic example of what is possible with your Talon.One integration. Depending on what data points you send, you can build rules to meet your promotion requirements. 

Next you will want to check out: