close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Ecart 5, Adding a shipping provider after using the ecart wizard.

Thread began 9/13/2010 3:49 pm by georgevargasa302189 | Last modified 9/15/2010 1:38 pm by georgevargasa302189 | 942 views | 2 replies

Jason ByrnesWebAssist

you can add shipping manually after running the checkout wizard.

on the confirm page, go to the Server behaviors panel and click the plus button, then select ecart -> Shipping then selct the provider you wish to use.


You then need to add a shipping rule in the shipping tab for that provider.

Both triggers and calculation list have built in options for your provider.


to offer a choice of shipping requires some hand coding to accomplish.


you need to add a select list to the checkout page, and also a hidden form element of the same name on the checkout page:

php:
<select name="shipping" id="select">

    <option value="usps">USPS</option>
    <option value="fedex">FedEx</option>
  </select>




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



the add a set session value behavior.

Set the trigger to any form post
set the name to shipping
click the lightning bolt next to value and select the shipping form element

Now, when creating the shipping rules, add an additional trigger:
based on session variable value

for fedex, the trigger would be created as:
If the Session variable 'shipping' has a value of 'fedex'

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