OK, so I moved the Embroidery Selection DIV out of the Cart and into Product Detail
product_detail.php?ProductID=3
Updated the eCart with columns. Selections successfully added from Product Detail to Shopping Cart
However, now the Embroidery Selection DIV appears on every Product Detail page regardless of whether embroidery is even an option for the product being purchased
How can I set it up to hide the DIV until the Embroidery ($15) item is selected from the Dynamic Select Menu?
Also, the Checkout button is no longer working. Cart appears to be redirecting back to itself (/cart.php?). The Continue Shopping, Clear Cart and Update buttons are all working correctly. There are no error messages.
<?php
//WA eCart Redirect Check Out
if (isset($_POST["eCart1_Checkout"]) || isset($_POST["eCart1_Checkout_x"])) {
$Redirect_redirStr="";
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);
}
?>