those are notices saying that the sessions have not been set yet, they don't get set till the checkout posts to the confirm.
you can add the following code at line to turn error reporting off:
<?php error_reporting(0); ?>
or use this code to leave it on, but suppress notices:
<?php error_reporting(E_ALL ^ E_NOTICE); ?>
to clear the UPS Shipping quote when the cart is cleared, change the clear cart code:
<?php
// WA eCart Trigger Clear Cart
if (isset($_POST["eCart1_Clear_100_x"])) {
$eCart1->ClearCart();
$Redirect_redirStr="";
if ($Redirect_redirStr != "") {
$eCart1->redirStr = $Redirect_redirStr;
}
$eCart1->cartAction = "ClearCart";
}
?>
to:
<?php
// WA eCart Trigger Clear Cart
if (isset($_POST["eCart1_Clear_100_x"])) {
$eCart1->ClearCart();
$Redirect_redirStr="";
if ($Redirect_redirStr != "") {
$eCart1->redirStr = $Redirect_redirStr;
}
$eCart1->cartAction = "ClearCart";
if(isset($_SESSION["eCart1_UPS_Quote"])) unset($_SESSION["eCart1_UPS_Quote"]);
}
?>