hmmm, looking at the code, I cannot see why it is not working unless there is no backorder message in the column for the selected inventoryID
to test this, look for the following line of code:
// WA eCart AddToCart
if (isset($_POST["winkee_1_ATC"]) || isset($_POST["winkee_1_ATC_x"])) {
and change it to:
// WA eCart AddToCart
if (isset($_POST["winkee_1_ATC"]) || isset($_POST["winkee_1_ATC_x"])) {
die($query_rsInventoryid);
this will write the sql for the rsInventoryid recordset to the screen.
COPY the sql statement and run it directly in PHPMyAdmin post back a screen shot showing the results.