Post by alex067 » Wed Sep 20, 2017 10:29 am

I'd like to remove the wishlist and compare product buttons on the product page and replace it with something else. I found on the .twig file where exactly these buttons are represented, however when I tried deleting them, they are still showing up on the store.

Am I doing something wrong? Do I need to delete them from a different file?

New member

Posts

Joined
Wed Jul 12, 2017 9:50 am

Post by rjcalifornia » Wed Sep 20, 2017 11:10 am

alex067 wrote:
Wed Sep 20, 2017 10:29 am
I'd like to remove the wishlist and compare product buttons on the product page and replace it with something else. I found on the .twig file where exactly these buttons are represented, however when I tried deleting them, they are still showing up on the store.

Am I doing something wrong? Do I need to delete them from a different file?
Yes, actually several files. Take a look at this thread for more information:
viewtopic.php?t=96048

Image
A2 Hosting features: Shared Turbo Boost, Managed Warp 1, Unmanaged Hyper 1, and Warp 2 Turbo


Active Member

Posts

Joined
Fri Sep 02, 2011 1:19 pm
Location - Worldwide

Post by alex067 » Wed Sep 20, 2017 11:56 am

This doesn't help me at all since what you linked is from 5 years ago and version 1.5

New member

Posts

Joined
Wed Jul 12, 2017 9:50 am

Post by rjcalifornia » Thu Sep 21, 2017 10:29 am

alex067 wrote:
Wed Sep 20, 2017 11:56 am
This doesn't help me at all since what you linked is from 5 years ago and version 1.5
Did you look at the files? You can use some of that thread as a reference. For instance, one comment says to remove the wishlist button from
catalog/view/theme/*/template/product/special.tpl
Which I could find in OpenCart 3:

Image
A2 Hosting features: Shared Turbo Boost, Managed Warp 1, Unmanaged Hyper 1, and Warp 2 Turbo


Active Member

Posts

Joined
Fri Sep 02, 2011 1:19 pm
Location - Worldwide

Post by IP_CAM » Thu Sep 21, 2017 11:04 am

Well, why not just download a nice and free OcMod, then, one can easy find out,
in wich files something needs to be done, regardless of the Version. ;)
Ernie
---
Remove product compare and/or wishlist (OCmod) free, OC v.2.0.0 - 2.3.0.2:
https://www.opencart.com/index.php?rout ... n_id=24594
and others exist as well:
https://www.opencart.com/index.php?rout ... 20wishlist
---

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
Who is online

Users browsing this forum: Bing [Bot], edkny, Google [Bot], nonnedelectari and 401 guests