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

#   Add to cart notification click to checkout

##

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

Less More

- Posts: 66
- Thank you received: 1
-
-

5 years 11 months ago [\#326919](#326919) by [yanliom](/forum/user/45218-yanliom "View yanliom's Profile")  *[Add to cart notification click to checkout](/forum/27-checkout/901416-add-to-cart-notification-click-to-checkout#326919 "-- url of the page with the problem -- :   liomas.eu/havellas-eshop/krani  -- HikaShop version -- : 4.4.0 -- Joomla version -- : 3.9.23  Hello,  I would like the add to cart notification to be clickable in order to get you quickly to the checkout (cart).  I can see the cursor changes when I hover the mouse but clicking on it does nothing.  Thank you in advance! Yannis")* was created by *[yanliom](/forum/user/45218-yanliom "View yanliom's Profile")*

-- url of the page with the problem -- : [ liomas.eu/havellas-eshop/krani](https://liomas.eu/havellas-eshop/krani)
-- HikaShop version -- : 4.4.0
-- Joomla version -- : 3.9.23

Hello,

I would like the add to cart notification to be clickable in order to get you quickly to the checkout (cart).

I can see the cursor changes when I hover the mouse but clicking on it does nothing.

[ ![Untitledaaa.png](/forum/attachment/51315) ](/forum/attachment/51315 "Untitledaaa.png")

Thank you in advance!
Yannis

- [ ![Untitledaaa.png](/forum/attachment/51315) ](/forum/attachment/51315 "Untitledaaa.png") [ ](/forum/attachment/51315?download=1 "Untitledaaa.png")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0LzkwMTQxNi1hZGQtdG8tY2FydC1ub3RpZmljYXRpb24tY2xpY2stdG8tY2hlY2tvdXQ/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")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86587
- Thank you received: 14326
-
-

5 years 11 months ago [\#326925](#326925) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Add to cart notification click to checkout](/forum/27-checkout/901416-add-to-cart-notification-click-to-checkout#326925 "-- url of the page with the problem -- :   liomas.eu/havellas-eshop/krani  -- HikaShop version -- : 4.4.0 -- Joomla version -- : 3.9.23  Hello,  I would like the add to cart notification to be clickable in order to get you quickly to the checkout (cart).  I can see the cursor changes when I hover the mouse but clicking on it does nothing.  Thank you in advance! Yannis")*

Hi,

The library we use to generate that notification box doesn't allow us to make it clickable.
What you could try is to do a translation override of the text displayed there to add a "a" HTML tag around the text.
[ www.hikashop.com/download/languages.html#modify](https://www.hikashop.com/download/languages.html#modify)
That way, you could click on the link.
Another solution would be to change the notification box with the settings of the HikaShop cart notification plugin via the Joomla plugins manager. There, you can change it to use a popup and in that case, the popup will contain a button to go to the checkout.

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

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

Less More

- Posts: 66
- Thank you received: 1
-
-

5 years 11 months ago -  5 years 11 months ago [\#326951](#326951) by [yanliom](/forum/user/45218-yanliom "View yanliom's Profile")  Replied by *[yanliom](/forum/user/45218-yanliom "View yanliom's Profile")* on topic *[Add to cart notification click to checkout](/forum/27-checkout/901416-add-to-cart-notification-click-to-checkout#326951 "-- url of the page with the problem -- :   liomas.eu/havellas-eshop/krani  -- HikaShop version -- : 4.4.0 -- Joomla version -- : 3.9.23  Hello,  I would like the add to cart notification to be clickable in order to get you quickly to the checkout (cart).  I can see the cursor changes when I hover the mouse but clicking on it does nothing.  Thank you in advance! Yannis")*

Hello,

the text method is not optimal as I cannot click the whole "notification".
I wouldn't use the popup as it is too obtrusive.

Can I make it clickable with some extra Javascript?

Yannis

Last edit: 5 years 11 months ago by [yanliom](/forum/user/45218-yanliom "View yanliom's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0LzkwMTQxNi1hZGQtdG8tY2FydC1ub3RpZmljYXRpb24tY2xpY2stdG8tY2hlY2tvdXQ/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")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86587
- Thank you received: 14326
-
-

5 years 11 months ago [\#326967](#326967) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Add to cart notification click to checkout](/forum/27-checkout/901416-add-to-cart-notification-click-to-checkout#326967 "-- url of the page with the problem -- :   liomas.eu/havellas-eshop/krani  -- HikaShop version -- : 4.4.0 -- Joomla version -- : 3.9.23  Hello,  I would like the add to cart notification to be clickable in order to get you quickly to the checkout (cart).  I can see the cursor changes when I hover the mouse but clicking on it does nothing.  Thank you in advance! Yannis")*

You could try something like that: Code:

$(document).on("click", ".notifyjs-hidable", function(e) { window.location='xxx'; });

where xxx is the URL of the checkout page.

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

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

Less More

- Posts: 66
- Thank you received: 1
-
-

5 years 11 months ago [\#327016](#327016) by [yanliom](/forum/user/45218-yanliom "View yanliom's Profile")  Replied by *[yanliom](/forum/user/45218-yanliom "View yanliom's Profile")* on topic *[Add to cart notification click to checkout](/forum/27-checkout/901416-add-to-cart-notification-click-to-checkout#327016 "-- url of the page with the problem -- :   liomas.eu/havellas-eshop/krani  -- HikaShop version -- : 4.4.0 -- Joomla version -- : 3.9.23  Hello,  I would like the add to cart notification to be clickable in order to get you quickly to the checkout (cart).  I can see the cursor changes when I hover the mouse but clicking on it does nothing.  Thank you in advance! Yannis")*

Thank you,

this is quite a simple fix. Why don't you include this simple patch in the notification plugin?

...just for others who may use this code, in my template (T4 Framework) I had to replace $ with jQuery: Code:

jQuery(document).on("click", ".notifyjs-hidable", function(e) { window.location='xxx'; });

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0LzkwMTQxNi1hZGQtdG8tY2FydC1ub3RpZmljYXRpb24tY2xpY2stdG8tY2hlY2tvdXQ/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")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86587
- Thank you received: 14326
-
-

5 years 11 months ago [\#327041](#327041) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Add to cart notification click to checkout](/forum/27-checkout/901416-add-to-cart-notification-click-to-checkout#327041 "-- url of the page with the problem -- :   liomas.eu/havellas-eshop/krani  -- HikaShop version -- : 4.4.0 -- Joomla version -- : 3.9.23  Hello,  I would like the add to cart notification to be clickable in order to get you quickly to the checkout (cart).  I can see the cursor changes when I hover the mouse but clicking on it does nothing.  Thank you in advance! Yannis")*

Hi,

Adding an option for it is a a good idea yes.
This code will make the box clickable to access the checkout even when the box is used to display an error message because the add to cart didn't work.
Knowing if the error message is a success or not is not available actually in the notifyjs library. So it will require a more complex solution if we want to make it truly usable in all cases and be able to add that as a standard solution.

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

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

Less More

- Posts: 66
- Thank you received: 1
-
-

5 years 11 months ago [\#327122](#327122) by [yanliom](/forum/user/45218-yanliom "View yanliom's Profile")  Replied by *[yanliom](/forum/user/45218-yanliom "View yanliom's Profile")* on topic *[Add to cart notification click to checkout](/forum/27-checkout/901416-add-to-cart-notification-click-to-checkout#327122 "-- url of the page with the problem -- :   liomas.eu/havellas-eshop/krani  -- HikaShop version -- : 4.4.0 -- Joomla version -- : 3.9.23  Hello,  I would like the add to cart notification to be clickable in order to get you quickly to the checkout (cart).  I can see the cursor changes when I hover the mouse but clicking on it does nothing.  Thank you in advance! Yannis")*

Hello,

the class off the notification box changes when it displays an error message.

Maybe the decision regarding link availability can be made using that CSS class (to keep it simple). That's a stable solution, the notifyjs library does not update any more.

Best,
Yannis

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0LzkwMTQxNi1hZGQtdG8tY2FydC1ub3RpZmljYXRpb24tY2xpY2stdG8tY2hlY2tvdXQ/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")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86587
- Thank you received: 14326
-
-

5 years 11 months ago [\#327123](#327123) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Add to cart notification click to checkout](/forum/27-checkout/901416-add-to-cart-notification-click-to-checkout#327123 "-- url of the page with the problem -- :   liomas.eu/havellas-eshop/krani  -- HikaShop version -- : 4.4.0 -- Joomla version -- : 3.9.23  Hello,  I would like the add to cart notification to be clickable in order to get you quickly to the checkout (cart).  I can see the cursor changes when I hover the mouse but clicking on it does nothing.  Thank you in advance! Yannis")*

Hi,

Yes. We'll see what we can do.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0LzkwMTQxNi1hZGQtdG8tY2FydC1ub3RpZmljYXRpb24tY2xpY2stdG8tY2hlY2tvdXQ/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.066 seconds

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