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

adding fields to checkout page?

Thread began 12/01/2010 2:05 pm by elewis93815 | Last modified 12/03/2010 4:03 pm by elewis93815 | 1193 views | 3 replies

Jason ByrnesWebAssist

for every form element that you add to the checkout page, you will need to add 2 things to the confirm page:

1) the confimr page has a collection of hidden form elements to capture the values posted from the checkout page, you need to add a new hidden form element with the same name as the one from the checkout page:

<input name="DeliveryName" type="hidden" id="DeliveryName" value="<?php echo((isset($_POST["DeliveryTime"]))?$_POST["DeliveryTime"]:""?>" />

2) Each form element has a corespondin set session value behavior on the confirm page.
on the sever behaviors panel, click the plus button and select eCart -> General -> Set Session Value.

Set the trigger to any form post.

set the name to the same as the form element.

click the lightning bolt next to value and select the corresponding form element from the form collection.

for the delivery charge:

dont pass the charge amount in the city drop down list, pass the city name instead.

you have 5 different charges, so create 5 different shipping charge rules

Set the triggers to be based on session variable value, and add a trigger for each possible city using the OR separator

15 dollar delivery:
Based On session variable Value - If the Session Variable 'DeliveryCity' has a value of 'Downtown Mpls'

Based On session variable Value - If the Session Variable 'DeliveryCity' has a value of 'Downtown Saint Paul'

Based On session variable Value - If the Session Variable 'DeliveryCity' has a value of 'Roseville'

Based On session variable Value - If the Session Variable 'DeliveryCity' has a value of 'Falcon Heights'

Flat rate charge of 15

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