In the continue shopping server behavior you can check the box to go to the previous URL, this will take the user to the last page they were on. The clear cart is different, it does not have this option. You can make it work like the continue shopping though by altering the clear cart code on the page to be like this:
<?php
// WA eCart Clear Cart
if (isset($_POST["eCart1_Clear_100"]) || isset($_POST["eCart1_Clear_100_x"])) {
$eCart1->ClearCart();
$Redirect_redirStr="";
if (true && isset($_SESSION['WAEC_ContinueRedirect'])) {
$Redirect_redirStr=siteToPageRel($_SESSION['WAEC_ContinueRedirect']);
}
if ($Redirect_redirStr != "") {
$eCart1->redirStr = $Redirect_redirStr;
}
$eCart1->cartAction = "ClearCart";
}
?>
This is the for eCart1, you would need to update this with the name of your cart.