Is it possible to controle prices from external source
I do not know Drupal Commerce. I envision it for my project, but I have a particular constraint: The prices of the articles come from an external database where they are pre-calculated for each couple article / customer.
So from Drupal Commerce, I have to 'overload' getting the price function, by personnal PHP code which will access to the external database. I don't want to populate prices into Drupal Commerce database. My prices will stay in the external database and i must fetch a price each time an article is displayed for a customer.
Is it possible to do that with Drupal Commerce ?
Maybe with a hook system ?
Thank you for your answers.