close ad
Help us test the new Databridge BETA with MySQLi support
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

New user needs help with shipping calcs

Thread began 4/21/2010 11:40 pm by Dennis | Last modified 4/26/2010 12:49 pm by Dennis | 918 views | 6 replies

Jason ByrnesWebAssist

you will need to create 4 shipping rules, one for each scenario.

1 item:
Trigger:
Subtotal For Any Column.
If the Subtotal for column "Quantity" is "=" a value of "1"


Calculation:
Flat Rate.
Create a flat rate shipping of $"3"
-----
2 item:
Trigger:
Subtotal For Any Column.
If the Subtotal for column "Quantity" is "=" a value of "2"


Calculation:
Flat Rate.
Create a flat rate shipping of $"5"

-----
3 - 5 item:
Trigger:
Subtotal For Any Column.
If the Subtotal for column "Quantity" is ">=" a value of "3"

AND
Subtotal For Any Column.
If the Subtotal for column "Quantity" is "<=" a value of "5"


Calculation:
Flat Rate.
Create a flat rate shipping of $"11"

-----
6 - 10 item:
Trigger:
Subtotal For Any Column.
If the Subtotal for column "Quantity" is ">=" a value of "6"

AND
Subtotal For Any Column.
If the Subtotal for column "Quantity" is "<=" a value of "10"


Calculation:
Flat Rate.
Create a flat rate shipping of $"13"


To show the error message if there are more then 10 items in the cart, use the following code:

php:
<?php if($yourCartName->TotalColumn("Quantity") > 10) { ?>

Call 123-456-7890 for shipping charges.
<?php ?>




in the code above, you will need to substitute "yourCartName" for the name of your eCart object.

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