Total Posts: 82
I’m trying to change “add to wishlist” and “add to compare” links to buttons on the product view.
So i changed the line :
<li><a href="<?php echo $_compareUrl ?>"><?php echo $this->__('Add to Compare') ?></a></li>
<li><button class="form-button2" onclick="setLocation('<?php echo $_compareUrl ?>')"><span><?php echo $this->__('Add to Compare') ?></span></button></li>
in the addto.phtml file
It does what i want, but it adds the product to cart too.
I suppose i have to change something to view.phtml file but i don’t know how to do what i want?
Some help wanted.
Thanks a lot