Getting the total price should always go through this function.