URGENT HELP! coupon code screws up shipping
Hi
on may 19 i added a coupon code. here is the code added:
//eCart Rule
function WAEC_JULES_LUCKY6() {
$totalDiscount = 0;
if (true && ((sizeof($this->Items) > 0) && ($this->InCart("SS2411") == true) && (((isset($_SESSION['discount_code'])?$_SESSION['discount_code']:"") == "lucky6")) OR ((isset($_SESSION['discount_code'])?$_SESSION['discount_code']:"") == "LUCKY6"))) {
$totalDiscount += ($this->ConditionalTotal("TotalPrice", "ID", "SS2411") * .3);//Result
}
return WA_eCart_FormatNumber($totalDiscount, $this->ForceDecimalsC, $this->DecimalPlacesC);
}
//eCart Rule
PROBLEM
on the view cart page it will show the shipping costs, and the subtotal including the shipping costs. However when you get to the confirm order page, NO SHIPPING is shown and its not included in the total either. This changed in the orders on the EXACT date the coupon code above was added.
The confirm order page & the checkout page, have not changed since March. So im fairly certain its nothing there that is causing this. It has to be something on the view cart page. HOWEVER the view cart page is the one page that shows the total correct.
?????? Any ideas on what is causing this? SInce may 19 its happened to every order and that shipping has added up! SIGH!!!!!! BIG MONEY LOST. Im freaking out.
Im attaching my files.
and you can test the live url at julesreid.com
add any item to the cart
see the shipping in the cart
then checkout
on the confirm page - no shipping shows
thanks
sam