Hey Luke,
I found the call to the function Submit Order on onepagecheckout.ascx.cs but i couldn't find the code for this function.
SubmitOrder(email, paymentOption.CheckoutPaymentType, paymentOption.CreditCard, paymentOption.BillingAddress);
Is it possible to modify SubmitOrder to add one more field? I want to add a notes/instructions section on checkout.ascx where customer can enter special instructions for the order and that note would be added to dsc_order_note for that order.
I was thinking to either to modify the parameters in SubmitOrder to have one more for note or have SubmitOrder return orderid to the page and then i can call the Order.AddNote function to add note to the order.
What do you think is the best way to do that?
Thanks
-D
|