We would like to give a discount on a product in the cart, IF the customer has exceeded a specific quantity of that product in the cart. The complex part is, the specific quantity is custom per product - and set in a custom attribute.
Example:
widget custom field for sale-threshold is 5 units
If a customer has 4 widgets in cart, no discount is given
If the customer has 5 or more in the cart, then they get a discount configured in the rule
(I tried using the code for the custom attribute in the rule itself "if quantity in cart equals or is greater than sale_threshold" - but that didn't work)
Is this possible?