Tried that. Still doesn't seem to be setting. This is the redirect checkout block:
<?php
//WA eCart Redirect Check Out
if (isset($_POST["eCartMGP_Checkout"]) || isset($_POST["eCartMGP_Checkout_x"])) {
$Redirect_redirStr="checkout.php";
if ($Redirect_redirStr != "") {
if (isset($_SERVER['QUERY_STRING']) && $_SERVER['QUERY_STRING'] != "") {
if (strpos($Redirect_redirStr, "?") < 0) {
$Redirect_redirStr .= "?".$_SERVER['QUERY_STRING'];
}
else {
$Redirect_redirStr .= "&".$_SERVER['QUERY_STRING'];
}
}
$eCartMGP->redirStr = $Redirect_redirStr;
}
$eCartMGP->cartAction = "Checkout";
}
?>
I noticed the "eCartMGP_Checkout" and "eCartMGP_Checkout_x" as the $_POST so I tried doing this:
<?php
if (isset($_POST['eCartMGP_Checkout'])) {
$_SESSION['location'] = $_POST['location'];
}
?>
Still doesn't work.