close ad
Install the LAtest Updates to Work with CC 2017 and CC 2018
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Modify Information on Checkout Page

Thread began 2/11/2010 5:13 pm by jenbar3378469 | Last modified 8/31/2010 4:31 pm by Jason Byrnes | 1484 views | 17 replies |

jenbar3378469

Modify Information on Checkout Page

When clicking on Modify Information on the confirm page, it redirects back to the checkout page, which is good, but none of the data is held. The user has to retype everything. Please advise how to fix this.

Thanks!

Sign in to reply to this post

Jason ByrnesWebAssist

the confirm page stores the usrs info in session variables, bind the initial value fro each form element to the corresponding session variable.


Select the Form element, in the property inspector, Click the lightning bolt next to Initial Value, expand the session collection and select the corresponding variable.

Sign in to reply to this post

jenbar3378469

Don't mean to be a pain and I know it has been some time, but from within the "Checkout" page I selected each form field, click on lighting bold and expanded the "ecart checkout form" sessions and selected the appropriate one" am I doing something wrong?

It is still not working.

Sign in to reply to this post

Jason ByrnesWebAssist

you may need to add this code at line 1

php:
<?php if(!session_id()) session_start(); ?>
Sign in to reply to this post

jenbar3378469

Hi Jason, Unfortunately that did not solve the problem.

I am binding these form fields from the checkout page, correct?

I then open up the ecart_checkout_form and bind it to the appropriate sessions, correct?

Please advise and thank you!!

Sign in to reply to this post

Jason ByrnesWebAssist

yes, that is correct.

if it is not working please send a copy of your chekout and confirm pages.

Sign in to reply to this post

jenbar3378469

Attached are my confirm.php and checkout.php pages.
If you still have my info from our open ticket and phone conversation yesterday, you can log into the site to see the actual issue.

Note: I have my checkout.php page so that it auto-populates the first 3 fields on the form: First Name, Last Name and email address.

Please let me know if the attachments do not come through. Thanks.

Attached Files
Checkout2.ZIP
Sign in to reply to this post

Jason ByrnesWebAssist

You are binding the form elements to the POST, not the session.


In the bindings panel expand the session collection to find the correct variables to bind to.

Sign in to reply to this post

jenbar3378469

Hi Jason, but if you look at the code of those pages, there aren't any sessions created from the checkout form. When I expand the sessions in the bindings panel, they just don't exist. Do I need to create them? Thanks!

Sign in to reply to this post

Jason ByrnesWebAssist

if they dont exist, then yoes, you need to create them


on the confirm page, go to the server behaviors list.

Click the plus button and select Set Session value.

Set the trigger to any form post.
Set the name to the name of the form element
Click the lightning bolt next to value and select the coresponding form element

do this for each one.

Sign in to reply to this post
loading

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

Content

rating

Layout

rating

Ease of use

rating

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...