for the clear cart, point the link top the cart page and use a URL variable:
<a href="cart.php?clear=true">Clear Cart</a>
Then find the clear cart behavior code, it will look similar to this:
<?php
// WA eCart Clear Cart
if (isset($_POST["eCart1_Clear_100"]) || isset($_POST["eCart1_Clear_100_x"])) {
$eCart1->ClearCart();
$Redirect_redirStr="";
if ($Redirect_redirStr != "") {
$eCart1->redirStr = $Redirect_redirStr;
}
$eCart1->cartAction = "ClearCart";
}
?>
make a copy of it just after the original (so the clear cart button will still work, in the copy change the trigger code:
if (isset($_POST["eCart1_Clear_100"]) || isset($_POST["eCart1_Clear_100_x"])) {
to use the URL variable:
if (isset($_GRT["clear"])) {
for the price issue, I will need to see the code for the add to cart.