...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
This is what I did.
Near the top of your stylesheet css (before #header), insert these lines:
Go to theme>default>template>product>product.tpl, un-comment these lines (around line 207):
Hope this helps.
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;
}
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>
-->
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
Thanks
Roy
Opencart store (undergoing a revamp!) come back soon! http://www.singlesupplygroup.co.uk
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
http://www.opencart.com/index.php?route ... order=DESC
or search the ampang jaya theme
cheers
aj
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.
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.
Thanks this works great.vord wrote:This is what I did.
Near the top of your stylesheet css (before #header), insert these lines:
Go to theme>default>template>product>product.tpl, un-comment these lines (around line 207):Code: Select all
/* Hide wishlist and compare sections */ .wishlist { display:none; } .compare { display:none; }
Hope this helps.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> -->
but how do i remove the wish list on the top of the page ( beside 'Home' ) and the link on the My account page ?
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?
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.
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.
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.
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.
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??
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??
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
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
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
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
i just remove it, but now appear 'null' in my product. how to remove that 'null'?
Attachments
Untitled.png (2.9 KiB) Viewed 1898 times
why not just try one of those, matching your Version ?
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
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.
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>
/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>
Followed are all the files containing the wishlist feature:
v1.5.6.4
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
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Who is online
Users browsing this forum: Amazon [Bot] and 62 guests