Voting starts in March for the Drupal Association Board election.
I'm very impressed with the thought that has gone into the new commerce module. I've successfully setup a price rule to discount the unit price on a product based on the line-item quantity. Nice.
What I'd like to do, is to be able to use a product field in the rule condition for use in a discount. A specific example is to calculated a 20% if the product is being purchased 30 days before it's 'commencement date'; i.e. an Early Bird discount rule for a conference.
Currently, in the data selector on the pricing rule condition, there are a set of the line-item fields that can be used. As far as I can tell, there is no way to pick a product field for use in the data selector.
I guess that there is some interface that Commerce is exposing to Rules for Rules to be able to use line-item fields in it's data selector.
I'd love to have a go to extend this to for data selector fields against a product. I'm new to commerce and rules, but willing to chip in if I can.
Any pointers on where to get started with this? What files in commerce or rules to start looking at?