# Shipping based on Cart Total

Thread began 5/04/2009 8:27 am by Bknvc1111729 | Last modified 5/05/2009 6:09 pm by Ray Borduin | 610 views | 1 replies |

## 5/04/2009 8:27 am  |  #1 Bknvc1111729

### Shipping based on Cart Total

I hope someone can help me with this. I am not a programer so this is a bit over my head. I understand the basics for designing and was trying to find some documentation on the shipping for eCart. But here is what I am trying to accomplish for my shipping/Handling charges to my cart.

I want the shipping to be charged from a matrix for the total of the cart and have the shipping be determined on whether the shipping needs to be domestic or international.

The shipping matrix would look like this:

Domestic
0.00 - 20.00 = \$5.95
20.01 - 50.00 = \$7.95
50.01 - 100.00 = \$10.95
100.01 - 150.00 = \$12.95
150.01 - 200.00 = \$14.50
200.01 - 250.00 = \$16.50
250.00 and up = 7.5% of cart total

International
0.00 - 50.00 = \$12.00
50.01 - 100.00 = \$15.00
100.01 - 150.00 = \$18.00
150.01 - 200.00 = \$20.00
200.01 - 250.00 = \$24.00
250.00 and up = 10% of cart total

If anyone has any ideas I would be much appreciated.

Thanks,
Bknvc

## 5/05/2009 6:09 pm  |  #2 Ray BorduinWebAssist

It looks like you will need to break it out into a bunch of rules, or set up a database to store the values.

I'd probably set up a database personally and use a total of three shipping rules:

Shipping rule 1: Total shipping returned from database query (return 0 if over \$250)
Shipping rule 2: Domestic large order 7.5% if domestic session variable set and order total over \$250
Shipping rule 3: International large order 10% if international session variable set and order total over \$250

in your database table you would have shipping rates with columns like

ShippingID ShippingMaxWeight ShippingAmount ShippingZone

Shipping Zone would identify international or domestic and ShippingID is an auto-increment key field.

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

## Everything else!

Close Window

Account or customer service questions?

Need technical support?

Content

Layout

Ease of use

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 Window

# We were unable to get the attached file

Close Window

### Attach and remove files

• Text Formatting
• Insert Element
• Block Formatting
• Cancel
Close Window

Close Window

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