Perform cart "update" when clicking checkout?
We've added a custom field to the viewcart page that, if the user is already signed in, is populated as $eCart1->DisplayInfo("Attendee") based on their stored (registered) first name and lastname
There is a problem though, if the user is not signed in when they click "Add to cart", then $eCart1->DisplayInfo("Attendee") is empty.
We've managed to fix that by forcing them to log in before they can view the "viewcart" page, and doing an if/else that manually populates the same form field on the viewcart page from the session variables userfirst and userlast.
As long as they click the Update Cart button on the viewcart page, then $eCart1->DisplayInfo("Attendee") will be set and everything will be fine.
However, most of the time we expect that users will simply proceed to checkout without clicking the Update button first.
So I'd like to know - is there a way to make the Checkout button perform an "update" function/behaviour first, and then proceed on with it's normal functions and move to the confirm page?
Or is there any other way to automatically get the modified Attendee field's data into $eCart1->DisplayInfo("Attendee")?