You would actually want to add this into the discounts tab in your eCart object. You would want to choose the Number of items with a specific column value and select the ID. For the calculation, you would select based on the quantity of an item and fill out the discount you would want to give.