Post by 3PO2017 » Fri Oct 09, 2020 10:48 am

Hello,
I would like to change wishlist button status after clicking add to wishlist.
Eg. normally gray heart icon and after added to wislist turn it into red heart icon.

I followed this tutorial viewtopic.php?t=210670 but its doen't work and not properly explained.

OC 3.0.3.6

Thanks

New member

Posts

Joined
Fri Feb 24, 2017 10:27 pm

Post by DigitCart » Fri Oct 09, 2020 2:34 pm

Hi

I have a commercial extension that can do that:
Add to Wishlist Button Switcher
https://www.opencart.com/index.php?rout ... n_id=37140

My Extensions


User avatar
Active Member

Posts

Joined
Thu Jun 22, 2017 5:32 pm


Post by thekrotek » Fri Oct 09, 2020 3:25 pm

3PO2017 wrote:
Fri Oct 09, 2020 10:48 am
I would like to change wishlist button status after clicking add to wishlist.
It all depends on your level of coding skill. You can check if particular product is added co current customer's wishlist and pass the result to template file. Then you can assign an additional class and colorize it as you wish. You can even disable or turn it into Remove From Wishlish button.

Professional OpenCart extensions, support and custom work.
Contact me via email or Skype by support@thekrotek.com


User avatar
Expert Member

Posts

Joined
Sun Jul 03, 2016 12:24 am


Post by letxobnav » Fri Oct 09, 2020 4:13 pm

you have to do it twice, on regular page load and on ajax call (add to wishlist) completion.

Crystal Light Centrum Taiwan
Extensions: MailQueue | SUKHR | VBoces

“Data security is paramount at [...], and we are committed to protecting the privacy of anyone who is associated with our [...]. We’ve made a lot of improvements and will continue to make them.”
When you know your life savings are gone.


User avatar
Expert Member

Posts

Joined
Fri Aug 18, 2017 4:35 pm
Location - Taiwan

Post by thekrotek » Sat Oct 10, 2020 3:19 am

Was a bit bored during dinner and created a small extension called Better Wishlist Button. It's free, try it for yourself.

Professional OpenCart extensions, support and custom work.
Contact me via email or Skype by support@thekrotek.com


User avatar
Expert Member

Posts

Joined
Sun Jul 03, 2016 12:24 am


Post by letxobnav » Sat Oct 10, 2020 7:58 am

You skipped desert, that only takes care of the ajax part.

Crystal Light Centrum Taiwan
Extensions: MailQueue | SUKHR | VBoces

“Data security is paramount at [...], and we are committed to protecting the privacy of anyone who is associated with our [...]. We’ve made a lot of improvements and will continue to make them.”
When you know your life savings are gone.


User avatar
Expert Member

Posts

Joined
Fri Aug 18, 2017 4:35 pm
Location - Taiwan

Post by 3PO2017 » Sat Oct 10, 2020 11:49 am

thekrotek wrote:
Sat Oct 10, 2020 3:19 am
Was a bit bored during dinner and created a small extension called Better Wishlist Button. It's free, try it for yourself.
Thanks a lot. Its working as expected

New member

Posts

Joined
Fri Feb 24, 2017 10:27 pm

Post by 3PO2017 » Sat Oct 10, 2020 4:09 pm

There is small issue with tooltip, it shows "Add to wishlist" all the time, after adding to it to wishlist should show "remove from wishlist"

New member

Posts

Joined
Fri Feb 24, 2017 10:27 pm

Post by thekrotek » Sat Oct 10, 2020 4:19 pm

3PO2017 wrote:
Sat Oct 10, 2020 4:09 pm
There is small issue with tooltip, it shows "Add to wishlist" all the time, after adding to it to wishlist should show "remove from wishlist"
If you have any issues with any extension, contact developer directly. Don't post issues on forum or in comments on extension's page.

Professional OpenCart extensions, support and custom work.
Contact me via email or Skype by support@thekrotek.com


User avatar
Expert Member

Posts

Joined
Sun Jul 03, 2016 12:24 am


Post by Zath » Tue Apr 12, 2022 8:31 am

thekrotek wrote:
Sat Oct 10, 2020 3:19 am
Was a bit bored during dinner and created a small extension called Better Wishlist Button. It's free, try it for yourself.
Hello.
Can this work with 3.0.3.7 ?
Your extension download page only goes up to 3.0.3.6.

Thanks

Opencart 3.0.3.7.


User avatar
New member

Posts

Joined
Fri Dec 08, 2017 10:07 am
Location - West Sussex, England
Who is online

Users browsing this forum: Baidu [Spider] and 409 guests