passing variables to the cart
I altered the script so much with what we talked about yesterday, so I downloaded the one on my test site. I ran it on my server and noticed that when I added to the cart an item that had no tab, the correct item number and bo message popped up. Then when I added an item and its various tab sizes I got he same inventoryid for each item although they have different ones and the same bo msg for each one. I did get the correct tab in the cart. I looked at the script and the difference was:
$ATC_itemSKU = "".$row_rsInventory['item_num'] ."";// column binding
$ATC_itemBO = "".$row_rsInventory['backordermsg'] ."";// column binding
I still have the rsInventory on the script which uses the filter prodid = url prodid in the rs. Then I changed it to inventoryid and nothing showed up.
When I use the rsInventoryid only the items with tabs show the bomessage and item number. The rsInventoryid is filtered by inventoryid = form variable winkee_1_Tab_Add.
At this point I do not know which recordset to use for the item number (sku) or the bo msg.
If I add the hidden field that you mention, which rs should I keep? Where would I put the hidden field. If you want to see the test site url is karenshotz.com/test/index.php-- this site is using the rsInventory.