close ad
WARNING: Do Not Install the DREAMWEAVER CC 2017 Update »
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Session variables in Chekout form/Payment info

Thread began 7/17/2010 9:10 am by rikaG_510 | Last modified 7/19/2010 10:52 am by Jason Byrnes | 1099 views | 3 replies |

rikaG_510

Session variables in Chekout form/Payment info

Hi Eric,

As you adviced, I recreated the checkout sequence.

Now I see ONE of many problems I had. I think this is where things began screwed.

On checkout.php page under Payment information, I want to change how some form elements are appearing.

In default, is goes;
- First Name
- Last name
- Email address...

I want it to be as;
- Name for invoice
- Your name if different from above
- address for invoice... etc

I could just change the form labels, but it gets very confusing.
So I'd like to change namd and id as well.

I understand that the value entered in each form will go to Session variables
("eCartCheckoutForm_[###]" ), so I guess I need to change the element name ( = [###] after "eCartCheckoutForm_" ) as well so session variables will match to Form elements ids.

To have session variables with my original element, do I just add new session variables under "session" on "binding" panel on checkout.php page?

Is there anyother php files that I should be correcting?
I am using Universal Email to send confirmation email, and I assume some files for this should be edited, such as "WAUE_pp_confirm_1.php" (I see session variables regarding Payment info in this file).

Is there anything else I have to edit?

Rika

Sign in to reply to this post

Jason ByrnesWebAssist

Do not change the name of the form elements or the names of the session variables, there are simply to many places that will need to be edited if you do this.


You can change the labels without a problem, but the form element and session variable names should be left as is.

Sign in to reply to this post

rikaG_510

Hmmm, does that mean the only thing I should be changing is LABEL for form elements, yeah?

So;

>Label: "Name for invoice"
Session variables: "eCartCheckoutForm_firstname"
Form name and id: firstname

>Label: "Name if different from above"
Form name and id: lastname
Sesseion variables: "eCartCheckoutForm_lastname"

Is this what you are talking about right?
Ok, I will try that out and see how it goes.

Sorry, I just need to make sure what I understand is correct...

Sign in to reply to this post

Jason ByrnesWebAssist

Yes, that is correct.

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

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