on the details page, remove the delete record server behavior, this server behavior should not be on a public page.
also edit the WADAItems recordset from:
SELECT ItemID, ItemCatID, ItemName, ItemShortDesc, ItemLongDesc, ItemPrice, ItemSKU, ItemThumb, ItemImage, ItemWeight
FROM items
WHERE ItemID = ParamItemID OR ( -1= ParamItemID2 AND ItemID= ParamSessionItemID)
to:
SELECT ItemID, ItemCatID, ItemName, ItemShortDesc, ItemLongDesc, ItemPrice, ItemSKU, ItemThumb, ItemImage, ItemWeight
FROM items
WHERE ItemID = ParamItemID
and delete the ParamItemID2 and ParamSessionItemID variables.
next, find the following code block:
<?php
// WA eCart Redirect
if ($Dean_Test_Cart_1->redirStr != "") {
header("Location: ".$Dean_Test_Cart_1->redirStr);
}
?>
and move it so it is just before the doctype tag.
for the view cart, you need to add the cart page name to the second parameter.
change:
onclick="MM_goToURL('plugins/parent','')
to:
onclick="MM_goToURL('plugins/parent','cart.php')