Firstly, awesome module. We are working on a project which sells excursions. Ubercart has been deployed to deal with selection and ordering of excursions. Excursions have been set up as products and various attributes with options created allowing a visitors to select certain information while they are adding an excursion to their cart.

In particular, attributes have been set up for Qty of Adults and Qty of Children. A base price has been set for the product (assuming minimum 1 adult) and if a visitor selects 2 or more adults, the price is incremented by the attributes option price. The Adult attribute is mandatory and the Children attribute not. When a visitor selects a number of children the price is also incremented by the attribute option price.

We have deployed UC discount coupons to deal with general auto discounts and we have paired certain products / excursions for additional discount using automatic discounts.

We have a use case by where we would like to only apply a discount to the adult attribute and not the child attribute. We see this as working on the the lines of:

If 1 adult and no children are selected apply the discount to the product's base price.
If 2 or more adults are selected apply the discount to the attribute price and the product's base price.
Never apply a discount to the children product attribute price.

We were wondering how feasible / doable this would be?