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.
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.
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]
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?
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));
}
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);
}
It still is not working. I replaced the code on the WA_Store_Cart_PHP.php file.
post a copy of the file so I can see where you pasted it.
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.
Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.
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.