Code: Select all
<div class="cart"><a onclick="addToCart('<?php echo $product['product_id']; ?>');" class="button" href="index.php?route=checkout/cart" ><span><?php echo $button_cart; ?></span></a></div>
This is from the error log when the button does not work correctly.
2011-10-26 19:51:16 - PHP Notice: Undefined variable: checkout in
/home/content/mystore/catalog/view/theme/POS/template/product/category.tpl on line 65
I am using 1.5.1
Thanks!