Somewhere there's a simple solution . . .
Here's the "lead-in" PHP for the "Checkout" page:
<?php
//WA eCart Include
require_once("WA_eCart/eCart1_PHP.php");
?>
<?php
$eCart1->GetContent();
?>
<?php
if (!session_id()) session_start();
if("" == "") {
$_SESSION["TaxRate"] = "".((isset($_POST["billStateList"]))?$_POST["billStateList"]:"") ."";
}
?>
<?php
//WA eCart Check Out Update
if (isset($_POST["eCart1_Checkout_1"]) || isset($_POST["eCart1_Checkout_1_x"])) {
$eCart1->UpdateCart();
$eCart1->cartAction = "CheckOutUpdate";
}
?>
<?php
//WA eCart Redirect Check Out
if (isset($_POST["eCart1_Checkout_1"]) || isset($_POST["eCart1_Checkout_1_x"])) {
$Redirect_redirStr="";
if ($Redirect_redirStr != "") {
if (isset($_SERVER['QUERY_STRING']) && $_SERVER['QUERY_STRING'] != "") {
if (strpos($Redirect_redirStr, "?") === false) {
$Redirect_redirStr .= "?".$_SERVER['QUERY_STRING'];
}
else {
$Redirect_redirStr .= "&".$_SERVER['QUERY_STRING'];
}
}
$eCart1->redirStr = $Redirect_redirStr;
}
$eCart1->cartAction = "Checkout";
}
?>
<?php
// WA eCart Redirect
if ($eCart1->redirStr != "") {
header("Location: ".$eCart1->redirStr);
}
?>
I followed the "WebAssist eCommerce Recipes360" PDF in setting this up, but I've been having problems. Obviously, my lack of familiarity with PHP is the biggest problem . . .
I'm in Florida, too - a friend of a former client is behind this Weekly Fisherman outfit. Long story of a fading newspaper concern - I've never been to the Keys . . .
Yikes!