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

Shipping Rules - sharing of successful formulas for non-coders!

Thread began 12/14/2009 3:27 pm by pete268226 | Last modified 12/14/2009 7:45 pm by pete268226 | 1209 views | 2 replies


Shipping Rules - sharing of successful formulas for non-coders!

Hey, we're all asking about different shipping scenarios than those that are included automatically with PowerStore2. I'm going to start this post (and maybe ask for it to be a sticky one) so that we can start sharing those configurations with eCart that work. I'm intending this to be for non-coders, so I'll write as clearly as possible, each step. Allow me to start by adding my own small victory.

If you have one to offer, then please do so - a beginner out there will be grateful!


Canadian Flat Rate Shipping of $7.00
Open confirm.php (or any cart-related document that contains the calculation)

Using eCart, double click on the eCart Object in the Server Behaviour Tab of DW

Click the Shipping Tab

Click the +ADD button; a new setting dialogue will open

Name your rule. I called mine "Canadian Flat Rate ($7)"

Under Triggers, click +ADD to create the first trigger:
TOTAL NUMBER OF UNIQUE ITEMS IN THE CART (set to "greater than zero")

Click +ADD to create the second trigger:
AND SESSION VARIABLE EXISTS and enter the variable you want to target
- I copied my variable name from the eCart Set Session Value item in Server
behaviors - I chose the eCartCheckoutForm_shipping_country one

Click +ADD to create the third and last trigger:
AND BASED ON SESSION VARIABLE VALUE and paste in your variable name, setting
the value comparison and value. For mine, I chose
eCartCheckoutForm_shipping_country = CA

Once your triggers are set up, go to the bottom of that dialogue box and set up the Calculation - in my instance, I chose Flat Rate and entered 7.

The important step that is needed is to upload the entire eCart directory - it contains the settings you just made. Remember to clear your browser cache and cookies often when testing.

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