How do I remove the Add to Compare button in my product pages http://www.cellar2door.com/index.php…rlot-2011.html
Thanks
6 answers
You can go to file: \app\design\frontend\default\jm_travelgeartemplat e\catalog\product\view\addto.phtml
Look for the code which displays the add to compare link then remove / comment it:
Code:
<div class="outer-addcart"> <button type="button" title="<?php echo $this->__('Add to Cart'); ?>" class="button btn-cart" onclick="productAddToCartForm.submit(this)"><span><span><?php echo $this->__('Add to Cart'); ?></span></span></button> <ul class="add-to-links"> <?php if ($this->helper('wishlist')->isAllow()) : ?> <li><a href="<?php echo $_wishlistSubmitUrl ?>" onclick="productAddToCartForm.submitLight(this, this.href); return false;" class="link-wishlist"><?php echo $this->__('Add to Wishlist'); ?></a></li> <?php endif; ?> <?php $_compareUrl = $this->helper('catalog/product_compare')->getAddUrl($_product); ?> <?php if($_compareUrl) : ?> <li><a href="<?php echo $_compareUrl ?>" class="link-compare"><?php echo $this->__('Add to Compare'); ?></a></li> <?php endif; ?> <?php if ($this->canEmailToFriend()): ?> <li><a href="<?php echo $this->helper('catalog/product')->getEmailToFriendUrl($_product) ?>" class="link-email"></a></li> <?php endif; ?> </ul> </div>
Thanks that worked like a charm. 2 quick things.
1. For some reason when i post here I don’t get the option to add a prefix like problem or solved.
2. Did you have any chance to solve the currency issue so it is Rp 150.000 like on this page it is only Rp 150, http://www.cellar2door.com/index.php…rlot-2011.html
I am worried as when I made that fix last time that was where all the problems started 🙁
Hi Jim,
I’m looking at this issue, give me more time.
Btw, pls let me know if you’ve customize anything with this price.
Should I reinstall the original html for the price page and then star editing again?
Sorry to be bothering you Saguaros but any ideas on how I can fix this?
Hi Jim,
I just changed all options for currency and country options to your own country and the prices show properly now.