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

Probably Covered Prevously

Thread began 2/09/2012 12:18 pm by tom92909 | Last modified 2/15/2012 11:33 am by tom92909 | 1707 views | 21 replies

tom92909Beta Tester

I've think I've done as you requested. As I understand what I we've done, I think that I've removed the actual shipRate from the individual calculations. I don't see where we're applying the actual shipRate to the cart item. I think I've missed something here.

  create another column in the cart, lets call it "shipGroup"

for each product that should be in the 6.95 shipGroup, set the value to 1 in the add to cart button, for each item that should be in the 11.95 shipGroup, set the value to 2 in the add to cart behavior.

then configure a rule for each shipGroup:
"number of items with a specific column value"
if the number of items where "shipGroup" has a value of "1" is greater than "0"
"Flat Rate"
(ceil($this->ConditionalTotal("Quantity", "shipGroup", "1") / 5)) * $this->ConditionalTotal("Quantity", "shipGroup", "1")  

//eCart Rule

function WAEC_eCart1_Shipping1()  {
  $totalShipping = 0;
  if (true && (($this->ConditionalTotal("Quantity", "shipGroup", "1") == 0))) {
    $totalShipping += (ceil($this->ConditionalTotal("Quantity", "shipGroup", "1") / 5)) * $this->ConditionalTotal("Quantity", "shipGroup", "1");//Result
  return WA_eCart_FormatNumber($totalShipping, $this->ForceDecimalsC, $this->DecimalPlacesC);
Attached Files

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