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

eCart with variable delivery charges

Thread began 4/03/2012 3:04 pm by kenbower434352 | Last modified 4/10/2012 11:23 am by kenbower434352 | 1423 views | 12 replies

Jason ByrnesWebAssist

the ecart checkout page already has a foprm element for entering the shipping zip code named "shipping_postcode":

<input type="text" name="shipping_postcode" id="shipping_postcode" value="" />

when you replace this with the select list, make sure to use the same name for the select list.

The selected zip code will be stored in a session variable named:

create a recordset on the confirm page to look up the selected post code. set the filtering section to filter the postalZone column equal to the Session variable eCartCheckoutForm_shipping_postcode

still on the confirm page, add a set session value server behavior (on the server behaviors panel, click the plus button and select eCart -> General -> Set Session Value). for the trigger and value, click the lightning bolt icon and select the deliveryMinimum column from the recordset. set the name of the session to "deliveryMinimum"

Repeat that step to create another session, this time select the deliveryRate column and name the session "deliveryRate"

now create the shipping change in the eCart object, set the triggers as:
"Session Variable Exists"
Session Variable Name 'deliveryMinimum'

"Session Variable Exists"
Session Variable Name 'deliveryRate'

"Subtotal For the entire Cart Contents"
If the Subtotal price for the cart is '<' a value of '$_SESSION['deliveryRate']'

Flat rate change of '$_SESSION['deliveryRate']'

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