Thank you for the code to show/hide the embroidery depending on selection. Works great.
However, the redirect from Cart to Checkout is still not working. It has in the past. Still redirecting back to itself (.../cart.php?). I did update the code
<?php
//WA eCart Redirect Check Out
if (isset($_POST["eCart1_Checkout"]) || isset($_POST["eCart1_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'];
}
}
$eCart1->redirStr = $Redirect_redirStr;
}
$eCart1->cartAction = "Checkout";
}
?>
<?php
// WA eCart Redirect
if ($eCart1->redirStr != "") {
header("Location: ".$eCart1->redirStr);
}
My next challenge is to have the Embroidery Selection choices Only show on the Cart page when they were selected on the Product Detail page.
I have been looking thru the forum, is this something I would do with SecurityAssist Show Region?
The Type and Style data comes from Dynamic Lists from separate recordsets, and the Text and Msg are each from an eCart Session Value so doesn't look as if a recordset Show If would work..?
Many thanks as always.