add to cart button is not working for featured products

Post By:user_16212 | Reply


When i click on add to cart button in Featured products or Bestsellers nothing is happening ( product is not added to cart). instead i need to click on the product and then need to add to cart.

But in some computers it is working... looking strange..

is it a browser issue?

sing open-cart version 1.5.03
user_40938Tue, 22 Nov 2011

I went to theme>default>template>module and opened up featured.tpl and on line 23 I commented out the whole line like this:
<!-- <div class="cart"><a onclick="addToCart('<?php echo $product['product_id']; ?>');" class="button"><span><?php echo $button_cart; ?></span></a></div> -->
which made the buy now button disappear.

user_1051Sat, 13 Aug 2011

Link to your site ?

What browser does it not work in ?

I have a feeling this issue was addressed in one of the updates, so if possible you should at least update to

`Reply Or Comment!
Please LogIn to Reply!