I have a complex calculation for item price in a custom line item that I'd like to keep in code rather than rules. Is there a hook that gets called before cart calculation so I can set unit price?
Where is cart pricing calculation done in commerce? trying to find where it's run in source.
Drupal 7 (using kickstart 2)