I did something similar in one of our projects. The way I did it was to create a new controller based on the default FastTrack one and use a custom model which contained the new date property (in our case it was CheckoutShipRateQuoteController inheriting from CheckoutShipRateQuoteControllerBase but you should be able to do the same for any of them).
From there we added overrides for the relevant methods and in our SaveShipRateQuote method we store the new date value in lineItem.ExtendedData so it can be used later on (I think we also use it in a note via CheckoutManager).
How to add a field to a “order”
How do add a new data field to an order (or is it shipment?)
I want to collect a date and time from a user during the checkout process.....
Anyone, how can this be done.
Hey Ayo,
I did something similar in one of our projects. The way I did it was to create a new controller based on the default FastTrack one and use a custom model which contained the new date property (in our case it was CheckoutShipRateQuoteController inheriting from CheckoutShipRateQuoteControllerBase but you should be able to do the same for any of them).
From there we added overrides for the relevant methods and in our SaveShipRateQuote method we store the new date value in lineItem.ExtendedData so it can be used later on (I think we also use it in a note via CheckoutManager).
Hope that helps!
Dave
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.