Safe way to remove whishlist and comparison

I would like to know, how safely remove all and in every were wishlist and compare links.
Thanks.

4 answers

Profile photo of JA Developer 0.00 $tone February 27, 2009
Public

Hi noxxitbaby,

-- To hide the add to wishlist link , in admin, please go to System -> Configuration -> Customers -> Wishlist -> General Options -> select Enabled dropdown to No

-- To hide the add to compare link, please open app\design\frontend\default\defaulttemplate\catal og\product\list.phtml file, find two following code blocks:

<p class="add-to">
<?php if ($this->helper(‘wishlist’)->isAllow()) : ?>
<a href="<?php echo $this->helper(‘wishlist’)->getAddUrl($_product) ?>" class="link-cart"><?php echo $this->__(‘Add to Wishlist’) ?></a>
<?php endif; ?>
<?php if($_compareUrl=$this->getAddToCompareUrl($_product)): ?>
<span class="pipe">|</span>
<a href="<?php echo $_compareUrl ?>"><?php echo $this->__(‘Add to Compare’) ?></a>
<?php endif; ?>
</p>

and remove it.
These two blocks at about lines 72 and 111

#1
Profile photo of tomc 0.00 $tone February 27, 2009
Public

Wow, why would you want to remove these features? -- Aside from the layered navigation, these are two awesome features that set Magento apart from VirtueMart.

#2

This question is now closed

Written By

Comments