Please attach your cart object as well. I need that to open the interface.
I think you should be able to click OK. Try updating the code to:
<?php
// WA eCart MySQLi AddToCart
if (isset($_POST["segufix_1_ATC"]) && ($rspricelookup->getColumnVal('price') != "0") || isset($_POST["segufix_1_ATC_x"])) {
$ATC_itemID = $_POST["segufix_1_ID_Add"];
$ATC_AddIfIn = 0;
$ATC_RedirectAfter = "/cart.php";
$ATC_RedirectIfIn = "";
if (function_exists("rel2abs")) {
$ATC_RedirectIfIn = $ATC_RedirectIfIn?rel2abs($ATC_RedirectIfIn,dirname(__FILE__)):"";
$ATC_RedirectAfter = $ATC_RedirectAfter?rel2abs($ATC_RedirectAfter,dirname(__FILE__)):"";
}
if ("DetailRS1" != "") $DetailRS1->FindRow("product_id",$ATC_itemID);
$ATC_itemName = "".$DetailRS1->getColumnVal('name', false) ."";// column binding
$ATC_itemDescription = "".$_POST['lookupname2'] ."";// column binding
$ATC_itemWeight = "".floatval("0") ."";// column binding
$ATC_itemQuantity = "".$_POST["segufix_1_Quantity_Add"] ."";// column binding
$ATC_itemPrice = "".($_SESSION['mylocation'] == 'canada')?floatval($rspricelookup->getColumnVal('price_can')):floatval($rspricelookup->getColumnVal('price')) ."";// column binding
$ATC_itemarticle = "".$rspricelookup->getColumnVal('item_no_long') ."";// column binding
$ATC_itemVersion = "".$rspricelookup->getColumnVal('version') ."";// column binding
$ATC_itemSize = "".$rspricelookup->getColumnVal('size') ."";// column binding
$ATC_itemLock = "".$rspricelookup->getColumnVal('lock_description') ."";// column binding
if ("DetailRS1" != "") $DetailRS1->Index = 0;
$ATC_itemQuantity = floatval($ATC_itemQuantity);
if (is_numeric($ATC_itemQuantity) && $ATC_itemQuantity != 0) {
$segufix->AddToCart($ATC_AddIfIn, $ATC_RedirectIfIn, $ATC_itemID, $ATC_itemName, $ATC_itemDescription, $ATC_itemWeight, $ATC_itemQuantity, $ATC_itemPrice, $ATC_itemarticle, $ATC_itemVersion, $ATC_itemSize, $ATC_itemLock);
if ($ATC_RedirectAfter != "" && $segufix->redirStr == "") $segufix->redirStr = $ATC_RedirectAfter;
$_SESSION['WAEC_ContinueRedirect'] = $_SERVER['PHP_SELF'].($_SERVER['QUERY_STRING']?"?".htmlentities($_SERVER['QUERY_STRING']):"");
}
}
?>
If you still have issues, then please attach the cart object and I can try. You should be able to click the OK button.... maybe try reinstalling the extension.