I am writing a "bike configurator" plugin for a bike shop that uses Woocommerce to host their product on Wordpress.
The idea is to enable the customer to select the parts and colours for their complete bike, I have linked the configurator to the products in the Woocommerce backend - so far so good. The problem is that the 'complete' bike package cost should be different to the sum of the individual parts.
My plan is to add a custom-field in Woocommerce "configurator_price", when I add the items to the cart add a 'complete_bike'=true flag in the cart item data. Then I need to use this price when checking out.
What hooks should do this? i.e. when and where is the cart item price saved?