I have updated the server behavior to redirect to cart.php and also on the binding tab I have redirected when item is added to cart. Then I got an error in local server indicating line 1 and 188. So I moved the following statement on top
<?php
// WA eCart Redirect
if ($eSurvivalcart->redirStr != "") {
header("Location: ".$eSurvivalcart->redirStr);
}
?>
below this statement
<?php
//WA eCart Include
require_once("WA_eCart/eSurvivalcart_PHP.php");
?>
which previously had been also below.
After moving it, I no longer getting an error message but when you add to Cart button it does not redirect to cart.php thought I have updated the redirects on the Foodproducts result and direct pages.
I have uploaded to the server so you can see it at:
index.php