Does this code look ok ? Specifically saving to session and filtering the ID_ords with eCartdefOrderID?
// WA eCart Store Cart Summary in MySQLi Db
if (isset($_POST["submit_ship_bill_address"]) || isset($_POST["submit_ship_bill_address_x"])) {
$ConditionalQuery = new WA_MySQLi_Query($alba_med_i);
$ConditionalQuery->Action = "conditional";
$ConditionalQuery->Table = "orders_ords";
$ConditionalQuery->saveInSession("eCartdefOrderID");
$ConditionalGoTo = "";
if (function_exists("rel2abs")) $ConditionalGoTo = $ConditionalGoTo?rel2abs($ConditionalGoTo,dirname(__FILE__)):"";
$ConditionalQuery->redirect($ConditionalGoTo);
if (isset($_SESSION[$ConditionalQuery->SaveAs])) $ConditionalQuery->addFilter("ID_ords", "=", "d", $_SESSION[$ConditionalQuery->SaveAs]);
Also, I only do the summary saving to database, no details yet. Right now just want to get the summary working.
And, I changed the saveInSession variable name and sometimes the old name pops up. I've checked to ensure my testing server files are in sync. Does the saveInSession variable get saved in some other WA file? (Just guessing, doubt it.)
Thanks