[Skip to main content](#vessel-content)

#   Changed notification system?

##

- **[karendunne](/forum/user/51903-karendunne "View karendunne's Profile")**
- [![karendunne's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/51903-karendunne "View karendunne's Profile") Topic Author
- [ Offline](/forum/user/51903-karendunne)

Less More

- Posts: 112
- Thank you received: 7
-
-

8 years 8 months ago [\#288241](#288241) by [karendunne](/forum/user/51903-karendunne "View karendunne's Profile")  *[Changed notification system?](/forum/31-development/893850-changed-notification-system#288241 "-- HikaShop version -- : 3.2.2 -- Joomla version -- : 3.8.5  Hi There! I have an override on the remove from wishlist method so that it shows a notification when an item is removed from the wishlist. When I developed this override HikaShop was using jQuery notify to show notifications and I just had to add this code to my javascript:  It's been sometime and I remember this was working fine, but currently the site does not load jQuery notify plugin and notifications seem to be using a different (and nicer system) with this call to update the cart:  Can you please point out the code to show a notification about product removed so that I can use the new notification system?  Thank you!!  Carlos.")* was created by *[karendunne](/forum/user/51903-karendunne "View karendunne's Profile")*

-- HikaShop version -- : 3.2.2
-- Joomla version -- : 3.8.5

Hi There!
I have an override on the remove from wishlist method so that it shows a notification when an item is removed from the wishlist. When I developed this override HikaShop was using jQuery notify to show notifications and I just had to add this code to my javascript:
Code:

jQuery.notify({title:"Removed From Wishlist",text: jQuery(this).data('productName'),image:"&lt;img src=\""+jQuery(this).data('productImage')+"\" alt=\"\"/&gt;"},{className:'info'});

It's been sometime and I remember this was working fine, but currently the site does not load jQuery notify plugin and notifications seem to be using a different (and nicer system) with this call to update the cart:
Code:

window.Oby.fireAjax(cart_type+'.updated', {id: cart_id, el: el, product_id: product_id, type: cart_type, resp: resp});

Can you please point out the code to show a notification about product removed so that I can use the new notification system?

Thank you!!

Carlos.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMxLWRldmVsb3BtZW50Lzg5Mzg1MC1jaGFuZ2VkLW5vdGlmaWNhdGlvbi1zeXN0ZW0/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86541
- Thank you received: 14304
-
-

8 years 8 months ago [\#288248](#288248) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Changed notification system?](/forum/31-development/893850-changed-notification-system#288248 "-- HikaShop version -- : 3.2.2 -- Joomla version -- : 3.8.5  Hi There! I have an override on the remove from wishlist method so that it shows a notification when an item is removed from the wishlist. When I developed this override HikaShop was using jQuery notify to show notifications and I just had to add this code to my javascript:  It's been sometime and I remember this was working fine, but currently the site does not load jQuery notify plugin and notifications seem to be using a different (and nicer system) with this call to update the cart:  Can you please point out the code to show a notification about product removed so that I can use the new notification system?  Thank you!!  Carlos.")*

Hi,

Well, it's basically the same as the adding.
HikaShop has the HikaShop cart notify plugin which handles the notifications for product adding.
So you can base yourself on it. The code you want to look at is the unobfuscated code in plugins/hikashop/cartnotify/media/notify.min.js

The following user(s) said Thank You: [karendunne](/forum/user/51903-karendunne "View karendunne's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMxLWRldmVsb3BtZW50Lzg5Mzg1MC1jaGFuZ2VkLW5vdGlmaWNhdGlvbi1zeXN0ZW0/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[karendunne](/forum/user/51903-karendunne "View karendunne's Profile")**
- [![karendunne's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/51903-karendunne "View karendunne's Profile") Topic Author
- [ Offline](/forum/user/51903-karendunne)

Less More

- Posts: 112
- Thank you received: 7
-
-

8 years 8 months ago [\#288410](#288410) by [karendunne](/forum/user/51903-karendunne "View karendunne's Profile")  Replied by *[karendunne](/forum/user/51903-karendunne "View karendunne's Profile")* on topic *[Changed notification system?](/forum/31-development/893850-changed-notification-system#288410 "-- HikaShop version -- : 3.2.2 -- Joomla version -- : 3.8.5  Hi There! I have an override on the remove from wishlist method so that it shows a notification when an item is removed from the wishlist. When I developed this override HikaShop was using jQuery notify to show notifications and I just had to add this code to my javascript:  It's been sometime and I remember this was working fine, but currently the site does not load jQuery notify plugin and notifications seem to be using a different (and nicer system) with this call to update the cart:  Can you please point out the code to show a notification about product removed so that I can use the new notification system?  Thank you!!  Carlos.")*

Hi nicolas,
I'm afraid that does not look quite right to me. I just need a simple way to handle the notification after calling:
Code:

window.hikashop.deleteFromCart(this,'wishlist','');

Previously I was using this:
Code:

jQuery.notify({title:"Removed From Wishlist",text: jQuery(this).data('productName'),image:"&lt;img src=\""+jQuery(this).data('productImage')+"\" alt=\"\"/&gt;"},{className:'info'});

Which is pretty close to what you have in the referred function for using notifications, but I get this message in console:

> TypeError: jQuery.notify is not a function

Can you please provide any other clue? I see you are loading notification libraries and don't want to load any more libraries to make it work ![:(](/media/kunena/emoticons/22.png ":(")

Thank you!!

Carlos.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMxLWRldmVsb3BtZW50Lzg5Mzg1MC1jaGFuZ2VkLW5vdGlmaWNhdGlvbi1zeXN0ZW0/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86541
- Thank you received: 14304
-
-

8 years 8 months ago [\#288449](#288449) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Changed notification system?](/forum/31-development/893850-changed-notification-system#288449 "-- HikaShop version -- : 3.2.2 -- Joomla version -- : 3.8.5  Hi There! I have an override on the remove from wishlist method so that it shows a notification when an item is removed from the wishlist. When I developed this override HikaShop was using jQuery notify to show notifications and I just had to add this code to my javascript:  It's been sometime and I remember this was working fine, but currently the site does not load jQuery notify plugin and notifications seem to be using a different (and nicer system) with this call to update the cart:  Can you please point out the code to show a notification about product removed so that I can use the new notification system?  Thank you!!  Carlos.")*

Hi,

I was not talking about the jQuery.notify.
If you get the error that jQuery.notify is not a function, it means that jQuery and/or the notify system of jQuery you're trying to use are not loaded where you have your code.
Since we don't know how and where exactly you added your javascript code, we can't help much on that.
What I would recommend is to load jQuery and/or the notify system of jQuery just before trying to call jQuery.notify and that will work.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMxLWRldmVsb3BtZW50Lzg5Mzg1MC1jaGFuZ2VkLW5vdGlmaWNhdGlvbi1zeXN0ZW0/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[karendunne](/forum/user/51903-karendunne "View karendunne's Profile")**
- [![karendunne's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/51903-karendunne "View karendunne's Profile") Topic Author
- [ Offline](/forum/user/51903-karendunne)

Less More

- Posts: 112
- Thank you received: 7
-
-

8 years 8 months ago [\#288494](#288494) by [karendunne](/forum/user/51903-karendunne "View karendunne's Profile")  Replied by *[karendunne](/forum/user/51903-karendunne "View karendunne's Profile")* on topic *[Changed notification system?](/forum/31-development/893850-changed-notification-system#288494 "-- HikaShop version -- : 3.2.2 -- Joomla version -- : 3.8.5  Hi There! I have an override on the remove from wishlist method so that it shows a notification when an item is removed from the wishlist. When I developed this override HikaShop was using jQuery notify to show notifications and I just had to add this code to my javascript:  It's been sometime and I remember this was working fine, but currently the site does not load jQuery notify plugin and notifications seem to be using a different (and nicer system) with this call to update the cart:  Can you please point out the code to show a notification about product removed so that I can use the new notification system?  Thank you!!  Carlos.")*

Hi nicholas,
that was my first thought, but if you go to any product as a user and try to add it to your wishlist, the notification works with no problem. The problem is when you try to call jQuery.notify outside of hikashop javascript.

This was working before one of the past updates, so something has changed in how you handle notifications or load jQuery that is making not possible for me to use the libraries Hikashop loads.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMxLWRldmVsb3BtZW50Lzg5Mzg1MC1jaGFuZ2VkLW5vdGlmaWNhdGlvbi1zeXN0ZW0/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26400
- Thank you received: 4079
-
- [](http://obsi.dev)
-

8 years 8 months ago [\#288496](#288496) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Changed notification system?](/forum/31-development/893850-changed-notification-system#288496 "-- HikaShop version -- : 3.2.2 -- Joomla version -- : 3.8.5  Hi There! I have an override on the remove from wishlist method so that it shows a notification when an item is removed from the wishlist. When I developed this override HikaShop was using jQuery notify to show notifications and I just had to add this code to my javascript:  It's been sometime and I remember this was working fine, but currently the site does not load jQuery notify plugin and notifications seem to be using a different (and nicer system) with this call to update the cart:  Can you please point out the code to show a notification about product removed so that I can use the new notification system?  Thank you!!  Carlos.")*

Hello,

To call jQuery.notify you need to include the jQuery library which provide that "notify".
It's not related to HikaShop or else ; it's just that you're using some JS lib which has not been included.

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMxLWRldmVsb3BtZW50Lzg5Mzg1MC1jaGFuZ2VkLW5vdGlmaWNhdGlvbi1zeXN0ZW0/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[karendunne](/forum/user/51903-karendunne "View karendunne's Profile")**
- [![karendunne's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/51903-karendunne "View karendunne's Profile") Topic Author
- [ Offline](/forum/user/51903-karendunne)

Less More

- Posts: 112
- Thank you received: 7
-
-

8 years 8 months ago [\#288804](#288804) by [karendunne](/forum/user/51903-karendunne "View karendunne's Profile")  Replied by *[karendunne](/forum/user/51903-karendunne "View karendunne's Profile")* on topic *[Changed notification system?](/forum/31-development/893850-changed-notification-system#288804 "-- HikaShop version -- : 3.2.2 -- Joomla version -- : 3.8.5  Hi There! I have an override on the remove from wishlist method so that it shows a notification when an item is removed from the wishlist. When I developed this override HikaShop was using jQuery notify to show notifications and I just had to add this code to my javascript:  It's been sometime and I remember this was working fine, but currently the site does not load jQuery notify plugin and notifications seem to be using a different (and nicer system) with this call to update the cart:  Can you please point out the code to show a notification about product removed so that I can use the new notification system?  Thank you!!  Carlos.")*

Hi Jerome,
as I stated, I am using the same javascript methods you use in hikashop.js but since last (or previous) update the javascript system stopped to work.

I see in your code you are using jQuery.notify, but weird enough it only works inside your javascript as if you are not loading jquery or jquery.notify globally.

I only demand a bit of help on the javascript method I need to use to show a message using your message system. That's all I need. please!!

Carlos

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMxLWRldmVsb3BtZW50Lzg5Mzg1MC1jaGFuZ2VkLW5vdGlmaWNhdGlvbi1zeXN0ZW0/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26400
- Thank you received: 4079
-
- [](http://obsi.dev)
-

8 years 8 months ago [\#288805](#288805) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Changed notification system?](/forum/31-development/893850-changed-notification-system#288805 "-- HikaShop version -- : 3.2.2 -- Joomla version -- : 3.8.5  Hi There! I have an override on the remove from wishlist method so that it shows a notification when an item is removed from the wishlist. When I developed this override HikaShop was using jQuery notify to show notifications and I just had to add this code to my javascript:  It's been sometime and I remember this was working fine, but currently the site does not load jQuery notify plugin and notifications seem to be using a different (and nicer system) with this call to update the cart:  Can you please point out the code to show a notification about product removed so that I can use the new notification system?  Thank you!!  Carlos.")*

Hello,

Before using jQuery notify ; we load jQuery and we also load the "notify" lib.
If you do want to use the notifyjs lib ; best for you would be to download it and use it manually.
CF : [ notifyjs.com/](https://notifyjs.com/)
And don't forget to also include jQuery via the Joomla core before.

Please understand that you're asking for help for elements which are outside the limit of our support.
And, right now it's not that we don't want to help you a bit but...
How could we help you with the JavaScript if we do not know anything regarding what you have done nor we can see your plugin in action ?

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMxLWRldmVsb3BtZW50Lzg5Mzg1MC1jaGFuZ2VkLW5vdGlmaWNhdGlvbi1zeXN0ZW0/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.069 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
