close ad
WARNING PC USERS: Do Not Install the DREAMWEAVER CC 2017 Update »
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Free Shipping Discount not Working / Fed Ex

Thread began 8/26/2009 1:32 pm by heather373214 | Last modified 8/28/2009 12:44 pm by Jason Byrnes | 3759 views | 10 replies |

heather373214

Free Shipping Discount not Working / Fed Ex

I've added a free shipping discount to my cart for purchases of 3 pieces or more, but the fedex charges are still showing when the transaction proceeds to the confirm page. Any help would be appreciated.

Sign in to reply to this post

Jason ByrnesWebAssist

Modify the FedEx shipping charge. add an extra trigger so it will only be applied if the quantity is < 3:
Sub Total For Any Column:
If the Subtotal of Column [Quantity] is [<] a value of [3]

Sign in to reply to this post

heather373214

still not working...

I tried your suggestion and it didn't seem to work. I can't see that any additional coupons or ecart edits that I try to do are being integrated into the code...is there a way to send you an attachment to show you the window with the ecart edit to ensure that I am doing it correctly? What page should I be inserting this on?

Sign in to reply to this post

heather373214

This is the code that I tried to put on WA_Store_Cart_PHP.php. Didn't work.

//Shipping
$this->Shipping[] = new WA_eCart_Rule(urldecode("FedEx%20Shipping"), true, "WAEC_WA_Store_Cart_FedExShipping",
if (Quantity < 3));
}

Sign in to reply to this post

Jason ByrnesWebAssist

function WAEC_WA_Store_Cart_FedExShipping() {
$totalShipping = 0;
if (true && (("FedEx"=="FedEx")&&(isset($_SESSION["WA_Store_Cart_FedEx_Quote"]))&&(floatval($_SESSION["WA_Store_Cart_FedEx_Quote"]) != 0) && ($this->TotalColumn("Quantity") < 3))) {
$totalShipping += floatval($_SESSION["WA_Store_Cart_FedEx_Quote"]) + 0;//Result
}
return WA_eCart_FormatNumber($totalShipping, $this->ForceDecimalsC, $this->DecimalPlacesC);
}

Sign in to reply to this post

heather373214

It still is not working. I replaced the code on the WA_Store_Cart_PHP.php file.

Sign in to reply to this post

Jason ByrnesWebAssist

post a copy of the file so I can see where you pasted it.

Sign in to reply to this post

heather373214

I've attached a jpg image

Sign in to reply to this post

Jason ByrnesWebAssist

Double check that the change is being uploaded to the server. It is not possible that the fed ex charge would still be applied if you have three items in your cart with this code in place.

If you still having problems, please post a link to your site so I can investigate.

Sign in to reply to this post

heather373214

It is working now!! thank you!

Sign in to reply to this post
loading

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