Page 1 of 2

[1.5.0] Remove Wishlist

Posted: Wed Jun 01, 2011 4:07 pm
by rivercottage
Hiya guys

Im loving open cart and the easy of use and ease to theme. I cant seem to find anywhere in the admin to disable the wishlist functionality - Can anybody help me out or point me in the right direction?

Many thanks!

Re: [1.5.0] Remove Wishlist

Posted: Fri Jun 03, 2011 3:39 pm
by php
[1.5.0] Remove Wishlist

its easy bro !!
go to catalog \view\ theme\ default\ template\ common\ header.php and search for this line

<a href="<?php echo $wishlist; ?>" id="wishlist_total"><?php echo $text_wishlist; ?>

simply delete it....

Wish list wont appear now in index window
that's it!!

Re: [1.5.0] Remove Wishlist

Posted: Thu Aug 04, 2011 5:48 am
by nyltak
It is not quite that easy.

there are still links to 'add to wishlist' under each 'add to cart' button on every product.

Re: [1.5.0] Remove Wishlist

Posted: Wed Aug 10, 2011 7:20 am
by lojinhadopintinho

I'd like to completely remove the Wishlist function too.

What I have to do, fellas?

Re: [1.5.0] Remove Wishlist

Posted: Fri Aug 12, 2011 1:18 am
by hanakin2007
I'm interessed too ! Thank's :)

Re: [1.5.0] Remove Wishlist

Posted: Sun Aug 14, 2011 8:30 am
by deadlybreakdown
I'd like to know as well. Someone please tell how we can complete remove the wishlist and compare implements.

Re: [1.5.0] Remove Wishlist

Posted: Wed Aug 17, 2011 2:19 am
by RunningRob
I think I found the answer some people are looking for.

In the folder /catalog/view/theme/YOURTHEME/template/product/ you need to edit two files category.tpl and product.tpl

For category.tpl
To remove "Compare"
At around line 68
remove - <div class="product-compare"><a href="<?php echo $compare; ?>" id="compare_total"><?php echo $text_compare; ?></a></div>

Around line 94/95
<div class="compare"><a onclick="addToCompare('<?php echo $product['product_id']; ?>');"><?php echo $button_compare; ?></a></div>
<div class="wishlist"><a onclick="addToWishList('<?php echo $product['product_id']; ?>');"><?php echo $button_wishlist; ?></a></div>

around lines 116/117
html += ' <div class="compare">' + $(element).find('.compare').html() + '</div>';
html += ' <div class="wishlist">' + $(element).find('.wishlist').html() + '</div>';

around lines 180/181
html += '<div class="wishlist">' + $(element).find('.wishlist').html() + '</div>';
html += '<div class="compare">' + $(element).find('.compare').html() + '</div>';

For product.tpl

Around line 186/187 to get rid of "-OR- and Wishlist/Compare
<div><span>&nbsp;&nbsp;&nbsp;<?php echo $text_or; ?>&nbsp;&nbsp;&nbsp;</span></div>
<div><a onclick="addToWishList('<?php echo $product_id; ?>');"><?php echo $button_wishlist; ?></a><br />
<a onclick="addToCompare('<?php echo $product_id; ?>');"><?php echo $button_compare; ?></a></div>

It removed everything I wanted, let me know if that works for you



Re: [1.5.0] Remove Wishlist

Posted: Fri Aug 19, 2011 12:11 am
by mandamexico
This did it! Thanks Rob :D

Re: [1.5.0] Remove Wishlist

Posted: Sun Aug 21, 2011 6:37 am
by antics83
Worked for me too.

Re: [1.5.0] Remove Wishlist

Posted: Sat Aug 27, 2011 12:50 am
by deadlybreakdown
Worked like a champ. Thanks! :]

Re: [1.5.0] Remove Wishlist

Posted: Tue Sep 13, 2011 3:28 am
by myshadowself
There are a few other instances I found (I'm trying to get rid of COMPARE & WISHLIST)



In my opinion Wishlist, Affiliate and Comparisons should be modules so users can turn them off in Admin. One for the future I imagine.

Re: [1.5.0] Remove Wishlist

Posted: Tue Sep 13, 2011 1:26 pm
by jezfez
i had a developer make a mod for me that removes:

add to compare
reward points

completely from every page

it is 1 vqmod file, works perfectly on

i have his permission to share it
if you would like to try it, pm me. a $5 donation to the developer would be appreciated

Re: [1.5.0] Remove Wishlist

Posted: Wed Sep 21, 2011 4:30 pm
by MACscr

Why not just add it to the Extensions database so everyone can enjoy it? Kind of the point of open source dont ya think?

Re: [1.5.0] Remove Wishlist

Posted: Wed Sep 21, 2011 8:57 pm
by jezfez
ok i will, just didn't feel right giving away somebody else's work

10 pms and not 1 donation anyway ... order=DESC


Re: [1.5.0] Remove Wishlist

Posted: Thu Sep 22, 2011 5:52 am
by Web Studio West
No luck! I installed vqmod and placed the "remove wishlist" xml file in the xml folder but they (wishlist, compare, reward points) still appear on the category and product pages. I'm using opencart The website link is below but if I can't solve this quickly, I'm going to comment out the lines of code instead.


Thanks, Gary

Re: [1.5.0] Remove Wishlist

Posted: Thu Sep 22, 2011 6:16 am
by Chones
This may sound facetious, but if you want to remove Wishlist, Compare and Rewards, shouldn't you just use the very stable, tried and tested, unlikely to need an upgrade,

I'm using it for my new store cos I didn't need those things - has loads of lovely, stable extensions available too that will never need upgrading either.

Is just a thought ;D

And big kudos (Qdos?) to Qphoria for pressing on with it when everyone was drooling for v1.5.

Re: [1.5.0] Remove Wishlist

Posted: Thu Sep 22, 2011 10:39 am
by jezfez
web studio west
there is no wishlist etc on your category or product pages, you might need to refresh your browser

i did notice 1 sneaky wish list link on your my account page, i do not have that link though?

does the 1.4 version you are using allow you to edit an order that has been placed ie remove an item that is out of stock and re invoice the customer ?


Re: [1.5.0] Remove Wishlist

Posted: Fri Sep 23, 2011 5:16 am
by Chones
;) See, told you I may have been facetious or, more accurately, flippant.

Have never needed that function, I keep a careful watch on my stock numbers, so have no idea if it's in the core or if someone has made an extension for it.

Re: [1.5.0] Remove Wishlist

Posted: Thu Oct 06, 2011 8:47 pm
by pitkin2020
could someone tell me I need to place this XML as i have no idea lol. I have edited it so it has the correct theme name (rather than default) but i have no idea where i need to upload the file to??


EDIT figured it out once I found the correct terms to search for, worked a treat so thanks.

Re: [1.5.0] Remove Wishlist

Posted: Tue Oct 11, 2011 6:24 am
by victor.gatto
lol dont manually get rid of the wishlist, get the vqmod.