close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Fedex Multiple Shipping Options

Thread began 6/08/2012 9:38 am by info298025 | Last modified 6/08/2012 6:30 pm by info298025 | 1154 views | 2 replies

Jason ByrnesWebAssist

the snippet is available by going to window -> Snippets.

in the snippets window go to eCart -> Shipping -> FedEx Sevices to add the services list to the checkout page:

php:
<select name="FedEx_Service" id="FedExService">

  <option value="PRIORITYOVERNIGHT" selected>Priority Overnight</option>
  <option value="STANDARDOVERNIGHT">Standard Overnight</option>
  <option value="FIRSTOVERNIGHT">First Overnight</option>
  <option value="FEDEX2DAY">FedEx 2 Day</option>
  <option value="FEDEXEXPRESSSAVER">FedEx Express Saver</option>
  <option value="INTERNATIONALPRIORITY">International Priority</option>
  <option value="INTERNATIONALECONOMY">International Economy</option>
  <option value="INTERNATIONALFIRST">International First</option>
  <option value="FEDEX1DAYFREIGHT">FedEx 1 Day Freight</option>
  <option value="FEDEX2DAYFREIGHT">FedEx 2 Day Freight</option>
  <option value="FEDEX3DAYFREIGHT">FedEx 3 Day Freight</option>
  <option value="FEDEXGROUND">FedEx Ground</option>
  <option value="GROUNDHOMEDELIVERY">Ground Home Delivery</option>
  <option value="INTERNATIONALPRIORITY FREIGHT">International Priority Freight</option>
  <option value="INTERNATIONALECONOMY FREIGHT">International Economy Freight</option>
  <option value="EUROPEFIRSTINTERNATIONALPRIORITY">Europe First International Priority</option>
</select>




after adding the services list to the checkout page, open the confirm page, near the bottom, there is a collection of hidden form elements, add another one with the same name as the services list, to capture the value posted by the checkout page:

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




then add a set session value behavior, go to the server behaviors panel, click the plus button and select eCart -> General -> Set Session Value for the trigger, select any form post.

set the name to FedEx_Service for the value, click the lightning bolt and select the FedEx_Service form element.

in the fed ex server behavior, bind the servicer setting to the FedEx_Service 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...