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

Flat Rate and Shipping Provider Options

Thread began 5/14/2010 5:48 pm by mrobben375515 | Last modified 5/18/2010 10:45 am by mrobben375515 | 1521 views | 11 replies

Jason ByrnesWebAssist

the keys to this working are:
1- Select it in a form element on the checkout page.

2- capture the selection in hidden form element on the confirm page.

3- capture the selection in a session variable on the confirm page.

4- Use the session variable value in the triggers for the shipping rules.

on the checkout page create your select list:

<select name="shipType" id="shipType">
<option value="Local Pickup">Local Pickup</option>
<option value="UPS">UPS</option>

on the confirm page, create a hidden form element of the same name, and set it to capture the value posted from the checkout page:

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

Now add a Set Session Value server behavior.On the server behaviors panel, click the plus button and select eCart -> General Set Session Value.

Set the Name to shipType.

Set the trigger to any form post

for the value, click the lightning bolt and select the shipType form element.

Now in the eCart object, set the trigger for the local shipping rule to be Based on session variable value:
If the session variable "shipType" has a value "=" to "Local Pickup"

and set the trigger for UPS shipping to be Based on session variable value:
If the session variable "shipType" has a value "=" to "UPS"

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