So far I found one instance I was able to replicate this problem starting with a clear cart.
1. go to temporary home page at http://citychemical.applinex.com/index.html
2. type in "winter" under "Search Here for The Chemicals You Need" then click the "GO" button
3. check the 3rd and 4th items indicated as "M1534-500ML, Methyl Salicylate" and "O114-100GM, Birch Oil"
4. click the "Add to Cart" button
5. on shopping cart page, I'm only seeing the 3rd item which is for "Methyl Salicylate" but not for "Birch Oil"
However when I click on the product detail for "Birch Oil" and click the "Add to cart" button from there then it will show up in the shopping cart page.
I'm curious as to how to debug this since I'm using Dreamweaver CS6 and while my skills in php are rather basic, I have debugging experience with visual studio and c# at least.
update: when I clear cart and select the 4th item alone, it works, but not when I select the 3rd and 4th item for this example. There are other examples where it does work when I have multiple checkmark selections though.
Here is a snippet from my products_results.php page that I'm trying to look further into:
<?php
// WA eCart Get Info From RS
if ($_SERVER["REQUEST_METHOD"] == "POST" && isset($totalRows_rsATC) && $totalRows_rsATC > 0) {
$Redirect_redirStr="cart.php";
do {
$eCart1_itemID = floatval("".$row_rsATC['ProductID'] ."");
$eCart1_itemName = "".$row_rsATC['Chem1'] ."";
$eCart1_itemDescription = "".$row_rsATC['CAS'] ."";
$eCart1_itemThumbnail = "".$row_rsATC['ProductID'] ."";
$eCart1_itemWeight = floatval("".$row_rsATC['Quantity'] ."");
$eCart1_itemQuantity = floatval("1");
$eCart1_itemPrice = floatval("".$row_rsATC['Price'] ."");
$eCart1->AddToCart(1, "", $eCart1_itemID, $eCart1_itemName, $eCart1_itemDescription, $eCart1_itemThumbnail, $eCart1_itemWeight, $eCart1_itemQuantity, $eCart1_itemPrice);
} while ($row_rsATC = mysql_fetch_assoc($rsATC));
if ($Redirect_redirStr != "") {
$eCart1->redirStr = $Redirect_redirStr;
}
mysql_data_seek($rsATC, 0);
$row_rsATC = mysql_fetch_assoc($rsATC);
}
?>