Hi Jason, I had deleted my post as I worked out how to do it before you replied :)
The code I ended up using was:
for the cart page (to display the shipping button or checkout button.........
<?php
if ($WebCart->DisplayInfo("ItemType") == "2") {
?>
<input type="submit" value="Shipping" name="WebCart_Shipping">
<?php
}
else {
?>
<input type="submit" value="Checkout" name="WebCart_Checkout">
<?php
}
?>
.......for the product page i used:
<input name="WebCart_1_ATC" type="submit" <?php
if ($WebCart->InCart($row_rsItems["ItemID"])) {
?>disabled<?php
}
?> class="eC_FormButton" value="Add to Cart">
which was a different approach :)
however for the cart page there is a bug where it doesnt work perfectly so investigating....
Chris