I’m trying to update an order to add content to an attribute depending on user’s selection. It is working so far but the attribute value is saved in the ‘preorder’ row which I don’t know how to relate to the actual order row in the database:
Once the user clicks on the order now button it saves my value using the order id but this id it’s not the final one, so when the order is confirmed a new row is inserted but they have nothing in common. Maybe I’m subscribed to the wrong event? At the moment I’m using Enlight_Controller_Action_Frontend_Checkout_Finish but the order seems to be not created at this stage, any other idea on how can I add information to an order?