Try adding the following code block just before the doctype tag:
<?php
// WA eCart Redirect
if ($eCart1->redirStr != "") {
if (function_exists("rel2abs")) $eCart1->redirStr = rel2abs($eCart1->redirStr,dirname(__FILE__));
header("Location: ".$eCart1->redirStr);
die();
}
?>