close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues


Perform cart "update" when clicking checkout?

Thread began 9/28/2010 12:05 am by SaladoGuy | Last modified 9/28/2010 3:58 am by Dave Buchholz | 555 views | 1 replies |

SaladoGuyBeta Tester

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")?


Sign in to reply to this post

Dave BuchholzBeta Tester

Why not perform the update on the confirm page ?

Add it before the payment code and check that the referring page is the checkout page and not the confirm page submitting back to itself to process the payment.

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question





Ease of use


security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...