Post by myshadowself » Sat Oct 22, 2011 8:30 pm

...but if the vqmod doesnt work for you and you have a client breathing down your neck holding your paycheck to randsom, manually remove because at the end of the day, you gotta get paid.

Ronald Laughton is the worst referee in Rugby League


New member

Posts

Joined
Tue Jun 07, 2011 8:59 pm

Post by vord » Fri Dec 02, 2011 8:54 pm

This is what I did.

Near the top of your stylesheet css (before #header), insert these lines:

Code: Select all

/* Hide wishlist and compare sections */
.wishlist {
	display:none;
}
.compare {
	display:none;
}
Go to theme>default>template>product>product.tpl, un-comment these lines (around line 207):

Code: Select all

        <!--
        <div><span><?php echo $text_or; ?></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>
        --> 
Hope this helps.

Newbie

Posts

Joined
Fri Dec 02, 2011 1:29 pm

Post by roym » Mon Apr 30, 2012 2:40 am

Hi vord - that worked like a dream thanks (on 1.5.2.1) ... its also worth noting that the line also needs removing from account.tpl if you do not want the line to show up in the account section too.

Thanks

Roy
Opencart store (undergoing a revamp!) come back soon! http://www.singlesupplygroup.co.uk

Newbie

Posts

Joined
Sun Mar 13, 2011 3:29 am

Post by ajohan » Sun May 06, 2012 10:01 am

I am not sure about 1.5.0, but i have added a default theme that removes wishlisht, rewards and compare for 1.5.1

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

or search the ampang jaya theme

cheers

aj

Newbie

Posts

Joined
Wed May 02, 2012 10:29 am

Post by silentracer » Mon Sep 10, 2012 9:03 pm

Hi,

Does someone know if it works with the latest version 1.5.4. ? I placed the xml file in de vqmod/xml folder but it doesn't seem to work just yet.

???

Newbie

Posts

Joined
Tue Aug 28, 2012 10:01 pm

Post by worzelting » Fri Sep 28, 2012 4:04 am

Tried everything listed and the xml, nothing works for the latest version

New member

Posts

Joined
Sun Sep 23, 2012 11:55 pm

Post by betta » Tue Oct 02, 2012 1:38 am

vord wrote:This is what I did.

Near the top of your stylesheet css (before #header), insert these lines:

Code: Select all

/* Hide wishlist and compare sections */
.wishlist {
	display:none;
}
.compare {
	display:none;
}
Go to theme>default>template>product>product.tpl, un-comment these lines (around line 207):

Code: Select all

        <!--
        <div><span><?php echo $text_or; ?></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>
        --> 
Hope this helps.
Thanks this works great.

but how do i remove the wish list on the top of the page ( beside 'Home' ) and the link on the My account page ?

Newbie

Posts

Joined
Sun Jul 08, 2012 12:05 pm

Post by betta » Tue Oct 02, 2012 1:51 am

ok. nevermind. i found the files to modify. problem solved.

Thank you for the idea


:)

Newbie

Posts

Joined
Sun Jul 08, 2012 12:05 pm

Post by Digmen1 » Tue Oct 02, 2012 2:33 am

There is an extension that removes the WishlIst and compare options completly from opencart.
And it is free.

Active Member

Posts

Joined
Wed Apr 11, 2012 6:50 am


Post by bebasastilom » Thu Oct 04, 2012 3:43 pm

Digmen1 wrote:There is an extension that removes the WishlIst and compare options completly from opencart.
And it is free.

Can you post a link to it and does it work with the newest version of opencart?

Newbie

Posts

Joined
Thu Oct 04, 2012 2:07 pm

Post by Digmen1 » Sat Oct 06, 2012 4:09 am

Here is the link
Its a Vqmod

http://www.opencart.com/index.php?route ... %20compare

You can see it working on my webiste www.adovationz.co.nz

Its free and I think it works on all versions of 1.5.

Active Member

Posts

Joined
Wed Apr 11, 2012 6:50 am


Post by gentleman123 » Sat Jan 19, 2013 9:27 pm

this one functions the best:

http://www.opencart.com/index.php?route ... ist&page=2

only also comment out the line with wishlist (+/- line 172) so it does not show on the site.

Newbie

Posts

Joined
Fri Dec 28, 2012 7:53 pm

Post by scleimach » Tue Mar 26, 2013 12:29 am

I'm a pinoy student. I'm newbie using vqmod and opencart, and i don't know how create a simple xml script either.. x)
I'd like to share what i've done to remove the Add to Compare..

Don't use vqmod.. if you have the xml in removing the Add to Compare, remove it.. then:

At line 95 in category.tpl
from this:

<div class="compare"><a onclick="addToCompare('<?php echo $product['product_id']; ?>');"><?php echo $button_compare; ?></a></div>

to this:

<div class="compare"></div>

Just remove the <a onclick="addToCompare('<?php echo $product['product_id']; ?>');"><?php echo $button_compare; ?></a>

Hope it works to you guys.. I'm still figuring how to remove the Product Compare (0) on the product page.. any help please??

Newbie

Posts

Joined
Tue Mar 26, 2013 12:15 am

Post by TonyaOD » Sat Aug 31, 2013 4:12 am

This was a really helpful article - thank you. I went through took a copy of all the relevant files & removed any code referencing the wishlist which is what I wanted to get rid of.

In the end though I actually did a search / find using Dreamweaver because there were quite a few files referencing the wishlist. This handy feature located all instances for me & solved the problem :)

New member

Posts

Joined
Fri Apr 26, 2013 4:38 am

Post by cosmosolano » Tue Dec 03, 2013 10:51 pm

Thanks for having a COMPLETE instruction, After trying to follow other threads,
I spent over an hour trying to figure out what was wrong!
If I could add this:
The Manufacturer pages still have these unwanted links,
Apply the above instructions in the file manufacturer_info.tpl
(found in the same folder; catalog/view/theme/yourtheme/template/product/)

Delete (or comment out as I do) the same info which is found at around these lines:
63,64
84,85
147,148

Thanks again for being thorough in your solution,
other solutions were leaving "null" all over my pages!

Coz

Newbie

Posts

Joined
Tue Jul 30, 2013 8:28 am

Post by TonyaOD » Mon Jun 22, 2015 7:56 pm

I managed it quite simply & looks like the post helped someone else too :) Thanks everyone

New member

Posts

Joined
Fri Apr 26, 2013 4:38 am

Post by demonevill » Tue Jun 13, 2017 6:15 pm

i just remove it, but now appear 'null' in my product. how to remove that 'null'?

Attachments

Untitled.png

Untitled.png (2.9 KiB) Viewed 1904 times


Newbie

Posts

Joined
Tue Jun 13, 2017 6:02 pm

Post by IP_CAM » Wed Jun 14, 2017 2:56 am

why not just try one of those, matching your Version ? :D
Ernie

[VQMod] Remove Wishlist Link From Header
https://www.opencart.com/index.php?rout ... n_id=19142
---
Remove Add to Compare Button
https://www.opencart.com/index.php?rout ... n_id=21343
---
Remove Add to Wishlist Button
https://www.opencart.com/index.php?rout ... n_id=21344
---
Remove elements (wishlist / compare / language / currency)
https://www.opencart.com/index.php?rout ... n_id=14672
---
Remove Wish List and Add To Compare
https://www.opencart.com/index.php?rout ... on_id=7513
---
OCMOD: Remove Wishlist
https://www.opencart.com/index.php?rout ... n_id=20494
---
Compare System Remover
https://www.opencart.com/index.php?rout ... n_id=27618
---
Wish List Remover
https://www.opencart.com/index.php?rout ... n_id=27658

Remove Compare System (Vqmod & Ocmod)
https://www.opencart.com/index.php?rout ... n_id=26270
---
Remove Wishlist System
https://www.opencart.com/index.php?rout ... n_id=26273
---
Remove Wishlist from everywhere (VQmod)
https://www.opencart.com/index.php?rout ... n_id=26634
---
VQMOD: Remove Wishlist, Reward Points & Compare
https://www.opencart.com/index.php?rout ... n_id=20002
---
Remove Wishlist and Compare [OCMOD]
https://www.opencart.com/index.php?rout ... n_id=21489
---
Remove All Compare & Wishlist Button (vqmod)
https://www.opencart.com/index.php?rout ... on_id=2934

My Github OC Site: https://github.com/IP-CAM
5'200 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.


User avatar
Legendary Member

Posts

Joined
Tue Mar 04, 2014 1:37 am
Location - Switzerland

Post by Robonz » Mon Dec 25, 2017 4:40 pm

Thanks myshadowself, I just deleted all the wishlist and compare code blocks in the files you mentioned. It took 5 minutes and worked perfectly. No more compare or wishlist that I can see anywhere, fYi I did this on opencart 2. While I was in there I deleted the newsletter link in the footer too.

/catalog/view/theme/YOURTHEME/template/product/category.tpl
/catalog/view/theme/YOURTHEME/template/product/product.tpl
/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

Edit: Now the "add to cart" has the whole width to play with, I also modified this in both search.tpl and category.tpl it lets the words "add to cart" never disappear as they never run out of room now. And it centralised them too.

<div class="button-group">
<button style="width:100%" type="button" onclick="cart.add('<?php echo $product['product_id']; ?>', '<?php echo $product['minimum']; ?>');"><i class="fa fa-shopping-cart"></i> <?php echo $button_cart; ?> </button>
</div>

Newbie

Posts

Joined
Mon Feb 27, 2017 2:24 pm

Post by straightlight » Mon Dec 25, 2017 10:38 pm

Followed are all the files containing the wishlist feature:

Code: Select all

catalog/view/theme/<your_theme>/template/account/account.tpl
catalog/view/theme/<your_theme>/template/account/wishlist.tpl
catalog/view/theme/<your_theme>/template/common/footer.tpl
catalog/view/theme/<your_theme>/template/common/header.tpl
catalog/view/theme/<your_theme>/template/module/account.tpl
catalog/view/theme/<your_theme>/template/product/category.tpl
catalog/view/theme/<your_theme>/template/product/manufacturer_info.tpl
catalog/view/theme/<your_theme>/template/product/product.tpl
catalog/view/theme/<your_theme>/template/product/search.tpl
catalog/view/theme/<your_theme>/template/product/special.tpl
v1.5.6.4

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON
Who is online

Users browsing this forum: No registered users and 222 guests