Remove ajax cart from product list

Hi,
I have to remove  ajax cart from product list.
How ndo I ?
Thanks

3 answers

Profile photo of tuan le van 11570.00 $tone September 4, 2015
Public

Hi Cplusit,
My theme doesn’t have  ajax cart in the product list. please provide me the url, admin, FTP Credentical of your site.
Best regards,
Kan

#1
Profile photo of tuan le van 11570.00 $tone September 7, 2015
Public

Hi Cplusit,
You can go to the file : app\design\frontend\gem\default\template\catalog\product\list.phtml
remove line 105 :

<button type="button" title="<?php echo $this->__('Add to Cart') ?>" class="button btn-cart" onclick="setLocation('<?php echo $this->getAddToCartUrl($_product) ?>')"><span><span><?php echo $this->__('Add to Cart') ?></span></span></button>

and line 216

<button class="button btn-cart" onclick="setLocation('<?php echo $this->getAddToCartUrl($_product) ?>')">
<span><?php echo $this->helper("catalog")->__('Add to Cart') ?></span>
</button>

Have a look and let’s me know how it goes.
Best regards,
Kan

#3

Please login or Register to Submit Answer

Written By

Comments