close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

UPS shipping options on shopping cart page based on zip code

Thread began 3/07/2012 2:06 pm by toni272059 | Last modified 11/25/2013 11:54 am by toni272059 | 2119 views | 7 replies

Jason ByrnesWebAssist

you have to add the ser ice select list to the page first, go to the bindings panel and select WA eCart -> Shipping -> UPS Service.


the select list will need to be added to the checkout page.


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:

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




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.

in the ups shipping behavior, bind the service to the session variable.

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