Post by rivercottage » Wed Jun 01, 2011 4:07 pm

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!
Last edited by i2Paq on Wed Jun 01, 2011 6:46 pm, edited 1 time in total.
Reason: Use [version] tag in subject

Newbie

Posts

Joined
Tue May 31, 2011 10:02 pm

Post by php » Fri Jun 03, 2011 3:39 pm

[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!!

php
Newbie

Posts

Joined
Fri Jun 03, 2011 3:34 pm

Post by nyltak » Thu Aug 04, 2011 5:48 am

It is not quite that easy.

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

New member

Posts

Joined
Wed Jul 20, 2011 9:56 am

Post by lojinhadopintinho » Wed Aug 10, 2011 7:20 am

Hello!

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

What I have to do, fellas?


Posts

Joined
Wed Aug 10, 2011 7:16 am

Post by hanakin2007 » Fri Aug 12, 2011 1:18 am

I'm interessed too ! Thank's :)

User avatar
Newbie

Posts

Joined
Fri Aug 12, 2011 1:16 am

Post by deadlybreakdown » Sun Aug 14, 2011 8:30 am

I'd like to know as well. Someone please tell how we can complete remove the wishlist and compare implements.


Posts

Joined
Tue Jul 12, 2011 3:24 am

Post by RunningRob » Wed Aug 17, 2011 2:19 am

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
remove:
<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
remove:
html += ' <div class="compare">' + $(element).find('.compare').html() + '</div>';
html += ' <div class="wishlist">' + $(element).find('.wishlist').html() + '</div>';

around lines 180/181
remove:
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
remove:
<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

Regards

Rob

Newbie

Posts

Joined
Wed Aug 17, 2011 2:01 am

Post by mandamexico » Fri Aug 19, 2011 12:11 am

This did it! Thanks Rob :D

My Extensions

OpenCart Developer (OCD) Tools

Donate - If I ever helped you.


User avatar
Active Member

Posts

Joined
Mon Jun 29, 2009 10:14 am
Location - Los Angeles, CA

Post by antics83 » Sun Aug 21, 2011 6:37 am

Worked for me too.
Thanks!

Newbie

Posts

Joined
Sun Aug 21, 2011 6:31 am

Post by deadlybreakdown » Sat Aug 27, 2011 12:50 am

Worked like a champ. Thanks! :]


Posts

Joined
Tue Jul 12, 2011 3:24 am

Post by myshadowself » Tue Sep 13, 2011 3:28 am

There are a few other instances I found (I'm trying to get rid of COMPARE & WISHLIST)

in:

/catalog/view/theme/YOURTHEME/template/common/header.tpl
/catalog/view/theme/YOURTHEME/template/common/footer.tpl
/catalog/view/theme/YOURTHEME/template/product/manufacturer_info.tpl
/catalog/view/theme/YOURTHEME/template/product/search.tpl
/catalog/view/theme/YOURTHEME/template/product/special.tpl


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

Ronald Laughton is the worst referee in Rugby League


New member

Posts

Joined
Tue Jun 07, 2011 8:59 pm

Post by jezfez » Tue Sep 13, 2011 1:26 pm

i had a developer make a mod for me that removes:

wishlist
add to compare
reward points

completely from every page

it is 1 vqmod file, works perfectly on 1.5.1.2

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

New member

Posts

Joined
Wed Sep 07, 2011 2:24 pm

Post by MACscr » Wed Sep 21, 2011 4:30 pm

jezfez,

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

Newbie

Posts

Joined
Tue Jul 19, 2011 5:32 am

Post by jezfez » Wed Sep 21, 2011 8:57 pm

ok i will, just didn't feel right giving away somebody else's work

10 pms and not 1 donation anyway

http://www.opencart.com/index.php?route ... order=DESC

enjoy

New member

Posts

Joined
Wed Sep 07, 2011 2:24 pm

Post by Web Studio West » Thu Sep 22, 2011 5:52 am

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 1.5.1.2. The website link is below but if I can't solve this quickly, I'm going to comment out the lines of code instead.

Website: http://myskincenter.com/index.php?route=common/home

Thanks, Gary

Web Studio West
Phoenix Website Design


User avatar

Posts

Joined
Fri Sep 09, 2011 12:12 am
Location - Scottsdale AZ USA

Post by Chones » Thu Sep 22, 2011 6:16 am

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, 1.4.9.6?

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.

http://scarletandjones.com/
http://sharpdressedman.co.uk/
http://coffincompany.co.uk/
http://horsesculptures.co.uk/
If I've helped you out, why not buy me a beer? http://craigmurray.me.uk


User avatar
Active Member

Posts

Joined
Wed Mar 24, 2010 9:07 pm
Location - London

Post by jezfez » Thu Sep 22, 2011 10:39 am

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?

chones
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 ?

thanks

New member

Posts

Joined
Wed Sep 07, 2011 2:24 pm

Post by Chones » Fri Sep 23, 2011 5:16 am

;) 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.

http://scarletandjones.com/
http://sharpdressedman.co.uk/
http://coffincompany.co.uk/
http://horsesculptures.co.uk/
If I've helped you out, why not buy me a beer? http://craigmurray.me.uk


User avatar
Active Member

Posts

Joined
Wed Mar 24, 2010 9:07 pm
Location - London

Post by pitkin2020 » Thu Oct 06, 2011 8:47 pm

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??

thanks


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

New member

Posts

Joined
Thu Oct 06, 2011 5:20 am

Post by victor.gatto » Tue Oct 11, 2011 6:24 am

lol dont manually get rid of the wishlist, get the vqmod.

Active Member

Posts

Joined
Thu Sep 01, 2011 9:14 am
Who is online

Users browsing this forum: No registered users and 59 guests