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

#   Bigger Image in Vex Add to cart notification

##

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

Less More

- Posts: 129
- Thank you received: 0
-
-

9 years 4 months ago [\#273558](#273558) by [nic7071](/forum/user/42433-nic7071 "View nic7071's Profile")  *[Bigger Image in Vex Add to cart notification](/forum/26-product-category-display/891057-bigger-image-in-vex-add-to-cart-notification#273558 "hi, how can i change the size of the image loading in vex add to cart notification from 50px to 512px ? i found this line of code :  i guess i have to change the image url to a url of a bigger thumbnail.  thanks")* was created by *[nic7071](/forum/user/42433-nic7071 "View nic7071's Profile")*

hi,
how can i change the size of the image loading in vex add to cart notification from 50px to 512px ?
i found this line of code : Code:

content = "&lt;div class=\"notifyjs-metro-base\"&gt;&lt;div class=\"image\"&gt;&lt;img src=\""+img_url+"\" width=\"50\" height=\"50\" alt=\"\"/&gt;&lt;/div&gt;&lt;div class=\"text-wrapper\"&gt;&lt;div class=\"title\"&gt;"+title+"&lt;/div&gt;&lt;div class=\"text\"&gt;"+text+"&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;";

i guess i have to change the image url to a url of a bigger thumbnail.

thanks

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL3Byb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84OTEwNTctYmlnZ2VyLWltYWdlLWluLXZleC1hZGQtdG8tY2FydC1ub3RpZmljYXRpb24/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: 4080
-
- [](http://obsi.dev)
-

9 years 4 months ago [\#273567](#273567) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Bigger Image in Vex Add to cart notification](/forum/26-product-category-display/891057-bigger-image-in-vex-add-to-cart-notification#273567 "hi, how can i change the size of the image loading in vex add to cart notification from 50px to 512px ? i found this line of code :  i guess i have to change the image url to a url of a bigger thumbnail.  thanks")*

Hello,

Unfortunately, it would require a bit more modification than that.
Why do you want to display such big image in your popup ?

Regards,

---

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

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

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

Less More

- Posts: 129
- Thank you received: 0
-
-

9 years 4 months ago [\#273583](#273583) by [nic7071](/forum/user/42433-nic7071 "View nic7071's Profile")  Replied by *[nic7071](/forum/user/42433-nic7071 "View nic7071's Profile")* on topic *[Bigger Image in Vex Add to cart notification](/forum/26-product-category-display/891057-bigger-image-in-vex-add-to-cart-notification#273583 "hi, how can i change the size of the image loading in vex add to cart notification from 50px to 512px ? i found this line of code :  i guess i have to change the image url to a url of a bigger thumbnail.  thanks")*

i want to show the image in 128px and because i want to use retina support i have to load the original image at min 512 or 256px size !

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL3Byb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84OTEwNTctYmlnZ2VyLWltYWdlLWluLXZleC1hZGQtdG8tY2FydC1ub3RpZmljYXRpb24/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: 86561
- Thank you received: 14307
-
-

9 years 4 months ago [\#273589](#273589) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Bigger Image in Vex Add to cart notification](/forum/26-product-category-display/891057-bigger-image-in-vex-add-to-cart-notification#273589 "hi, how can i change the size of the image loading in vex add to cart notification from 50px to 512px ? i found this line of code :  i guess i have to change the image url to a url of a bigger thumbnail.  thanks")*

Hi,

You would have to change the size in the line: Code:

$img = $imageHelper-&gt;getThumbnail($image_path, array(50,50), array('default' =&gt; true), true);

of the file components/com_hikashop/controllers/product.php

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

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

Less More

- Posts: 129
- Thank you received: 0
-
-

9 years 4 months ago [\#273683](#273683) by [nic7071](/forum/user/42433-nic7071 "View nic7071's Profile")  Replied by *[nic7071](/forum/user/42433-nic7071 "View nic7071's Profile")* on topic *[Bigger Image in Vex Add to cart notification](/forum/26-product-category-display/891057-bigger-image-in-vex-add-to-cart-notification#273683 "hi, how can i change the size of the image loading in vex add to cart notification from 50px to 512px ? i found this line of code :  i guess i have to change the image url to a url of a bigger thumbnail.  thanks")*

Thanks man it worked,
and how can I add a custom div inside "vex-content" div to load a custom content?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL3Byb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84OTEwNTctYmlnZ2VyLWltYWdlLWluLXZleC1hZGQtdG8tY2FydC1ub3RpZmljYXRpb24/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: 4080
-
- [](http://obsi.dev)
-

9 years 4 months ago [\#273685](#273685) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Bigger Image in Vex Add to cart notification](/forum/26-product-category-display/891057-bigger-image-in-vex-add-to-cart-notification#273685 "hi, how can i change the size of the image loading in vex add to cart notification from 50px to 512px ? i found this line of code :  i guess i have to change the image url to a url of a bigger thumbnail.  thanks")*

Hello,

Unfortunately, you cannot override the plugin JS file and if you modify it directly, your modification will be lost with the next update.
What I can recommend you is to make a copy of the plugin, with another name ; so you can modify it as you want and be sure that your plugin will stay the same with updates.
It requires some Joomla development skills but they have a good documentation for that :
[ docs.joomla.org/J3.x:Creating\_a\_Plugin\_for\_Joomla](https://docs.joomla.org/J3.x:Creating_a_Plugin_for_Joomla)

Regards,

---

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

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

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

Less More

- Posts: 129
- Thank you received: 0
-
-

9 years 4 months ago [\#273776](#273776) by [nic7071](/forum/user/42433-nic7071 "View nic7071's Profile")  Replied by *[nic7071](/forum/user/42433-nic7071 "View nic7071's Profile")* on topic *[Bigger Image in Vex Add to cart notification](/forum/26-product-category-display/891057-bigger-image-in-vex-add-to-cart-notification#273776 "hi, how can i change the size of the image loading in vex add to cart notification from 50px to 512px ? i found this line of code :  i guess i have to change the image url to a url of a bigger thumbnail.  thanks")*

okay, how can i modify it so please how i can add custom content at the end of the popup box!

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

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

Less More

- Posts: 4820
- Thank you received: 652
-
-

9 years 4 months ago -  9 years 4 months ago [\#273798](#273798) by [Philip](/forum/user/34318-philip "View Philip's Profile")  Replied by *[Philip](/forum/user/34318-philip "View Philip's Profile")* on topic *[Bigger Image in Vex Add to cart notification](/forum/26-product-category-display/891057-bigger-image-in-vex-add-to-cart-notification#273798 "hi, how can i change the size of the image loading in vex add to cart notification from 50px to 512px ? i found this line of code :  i guess i have to change the image url to a url of a bigger thumbnail.  thanks")*

Hello,

You have to know that **vex code** doesn't depend on our work, **it's not an HikaShop code file**...
The aim to this topic is to help only on HikaShop, other extensions, plugins etc **are off topic**...
Even if that works with HikaShop, that's why Jerome give you a link.

Regards

Last edit: 9 years 4 months ago by [Philip](/forum/user/34318-philip "View Philip's Profile").

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

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

Less More

- Posts: 129
- Thank you received: 0
-
-

9 years 4 months ago [\#273894](#273894) by [nic7071](/forum/user/42433-nic7071 "View nic7071's Profile")  Replied by *[nic7071](/forum/user/42433-nic7071 "View nic7071's Profile")* on topic *[Bigger Image in Vex Add to cart notification](/forum/26-product-category-display/891057-bigger-image-in-vex-add-to-cart-notification#273894 "hi, how can i change the size of the image loading in vex add to cart notification from 50px to 512px ? i found this line of code :  i guess i have to change the image url to a url of a bigger thumbnail.  thanks")*

Add to cart notifications are part of HikaShop Functionality,
if you decide to use another 3rd party extension or script instead of writing it from the base in HikaShop Core, that your call and decisions and it's okay.
but as a user, i think at least you can give support when a **PAID** user needs a **customization hint** on HikaShop Functionality.
Because you have decided to use another script like VEX instead of HikaShop Base, not user. and the user is familiar with HikaShop, not any script that u use.

I'm using your supports and hint for developing works on HikaShop. and I really count on it and want your support to always be the best.
That's why I think maybe it's better to write this post as a constructive criticism.

but, I get it!
Thanks ![:-)](/media/kunena/emoticons/3.png ":-)")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL3Byb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84OTEwNTctYmlnZ2VyLWltYWdlLWluLXZleC1hZGQtdG8tY2FydC1ub3RpZmljYXRpb24/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: 4080
-
- [](http://obsi.dev)
-

9 years 4 months ago [\#273901](#273901) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Bigger Image in Vex Add to cart notification](/forum/26-product-category-display/891057-bigger-image-in-vex-add-to-cart-notification#273901 "hi, how can i change the size of the image loading in vex add to cart notification from 50px to 512px ? i found this line of code :  i guess i have to change the image url to a url of a bigger thumbnail.  thanks")*

Hello,

Nicolas gave you the line to modify the thumbnail size ; you found the line where the image is pushed in the JS and you can easily remove the "height" and "width" parameters.

My advice was to allow you to keep your modifications with updates.
If you modify HikaShop core files ; you are not able to update anymore...
The goal of our support is to give support, advice and allow you to continue to use HikaShop correctly in the future.

Afterwards, we can provide for sure support for HikaShop but we cannot provide it for third party libs ; even if they are used by HikaShop. The goal of these libs is to propose various solutions, more solutions that just libraries provided by the Joomla core (like "squeezebox" popup system).
We can help about a lot of things but what is deep customization or such kind of parts outside the limits of HikaShop, it's much difficult.
Constructive criticisms are welcome as long as they stay constructive.
And we do our best to always give constructives advice.

Regards,

---

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

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

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

Less More

- Posts: 129
- Thank you received: 0
-
-

9 years 4 months ago [\#274020](#274020) by [nic7071](/forum/user/42433-nic7071 "View nic7071's Profile")  Replied by *[nic7071](/forum/user/42433-nic7071 "View nic7071's Profile")* on topic *[Bigger Image in Vex Add to cart notification](/forum/26-product-category-display/891057-bigger-image-in-vex-add-to-cart-notification#274020 "hi, how can i change the size of the image loading in vex add to cart notification from 50px to 512px ? i found this line of code :  i guess i have to change the image url to a url of a bigger thumbnail.  thanks")*

Thanks Jerome,
I've taken Nicolas Advice and fixed my height and width issue.
i was asking about adding custom content after check out or continue shopping button in vex pop up box,
you told me to make a copy of plugin in order to override it,
i just need to add a single custom line of content at the end of the pop up box,
i just wanted to know

1. Do I have to duplicate the vex notification plugin in order to make the modification?
or can I modify the current plugin? (assuming that I have no problem with backing up before update ! )

2. where can i insert my custom line of code in vex file? i want it to be shown at the bottom inside of the popup box.

and Thank you All Guys for your great help, advise and supports.
i'm really proud of you guys ! ![;-)](/media/kunena/emoticons/24.png ";-)")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL3Byb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84OTEwNTctYmlnZ2VyLWltYWdlLWluLXZleC1hZGQtdG8tY2FydC1ub3RpZmljYXRpb24/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: 86561
- Thank you received: 14307
-
-

9 years 4 months ago [\#274023](#274023) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Bigger Image in Vex Add to cart notification](/forum/26-product-category-display/891057-bigger-image-in-vex-add-to-cart-notification#274023 "hi, how can i change the size of the image loading in vex add to cart notification from 50px to 512px ? i found this line of code :  i guess i have to change the image url to a url of a bigger thumbnail.  thanks")*

Hi,

1. You can do it directly in the plugin. Making a copy of the plugin would allow you to update without having to reapply the changes.

2. in the file plugins/hikashop/cartnotify/media/notify-vex.js you have that code: Code:

if(img_url == null) { content = "&lt;div class=\"notifyjs-metro-lite-base\"&gt;&lt;div class=\"text-wrapper\"&gt;&lt;div class=\"title\"&gt;"+title+"&lt;/div&gt;&lt;div class=\"text\"&gt;"+text+"&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;"; } else { content = "&lt;div class=\"notifyjs-metro-base\"&gt;&lt;div class=\"image\"&gt;&lt;img src=\""+img_url+"\" width=\"50\" height=\"50\" alt=\"\"/&gt;&lt;/div&gt;&lt;div class=\"text-wrapper\"&gt;&lt;div class=\"title\"&gt;"+title+"&lt;/div&gt;&lt;div class=\"text\"&gt;"+text+"&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;"; }

That's what creates the content of the vex popup so that's what you want to change.

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

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

Less More

- Posts: 129
- Thank you received: 0
-
-

9 years 3 months ago [\#275450](#275450) by [nic7071](/forum/user/42433-nic7071 "View nic7071's Profile")  Replied by *[nic7071](/forum/user/42433-nic7071 "View nic7071's Profile")* on topic *[Bigger Image in Vex Add to cart notification](/forum/26-product-category-display/891057-bigger-image-in-vex-add-to-cart-notification#275450 "hi, how can i change the size of the image loading in vex add to cart notification from 50px to 512px ? i found this line of code :  i guess i have to change the image url to a url of a bigger thumbnail.  thanks")*

Thanks, one more thing about vex is that when i'm not logged in and i add a product into wish list it shows an error and says i have to loggin first
in the error of vex pop up instead of product image it loads this image in this condition: /media/com_hikashop/images/icons/icon-32-newproduct.png
how can i replace this image with product image like when i'm logged in and add a product to wish list ?

Thanks !

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL3Byb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84OTEwNTctYmlnZ2VyLWltYWdlLWluLXZleC1hZGQtdG8tY2FydC1ub3RpZmljYXRpb24/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: 86561
- Thank you received: 14307
-
-

9 years 3 months ago [\#275470](#275470) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Bigger Image in Vex Add to cart notification](/forum/26-product-category-display/891057-bigger-image-in-vex-add-to-cart-notification#275470 "hi, how can i change the size of the image loading in vex add to cart notification from 50px to 512px ? i found this line of code :  i guess i have to change the image url to a url of a bigger thumbnail.  thanks")*

Hi,

The data sent back by the add to cart system when you click on an add to wishlist button while not being logged in doesn't contain the product information, only the error message.
That's why you get the generic icon.
If you want the image of the product, you would have to modify the code: Code:

$ret = array( 'ret' =&gt; 0, 'message' =&gt; JText::_('LOGIN_REQUIRED_FOR_WISHLISTS') ); echo json_encode($ret); exit;

in the file components/com_hikashop/controllers/product.php
However, that's more complex than changing the inside of the notification HTML since you need to load the product image data based on the REQUEST parameters, generate the thumbnail URL based on that, etc ...
The generation of the thumbnails and how to add it to the response can be seen in the getAjaxCartData function of the same file. Loading the product image data base be done with a MySQL query to the hikashop_file table.

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

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

Less More

- Posts: 129
- Thank you received: 0
-
-

9 years 3 months ago [\#275484](#275484) by [nic7071](/forum/user/42433-nic7071 "View nic7071's Profile")  Replied by *[nic7071](/forum/user/42433-nic7071 "View nic7071's Profile")* on topic *[Bigger Image in Vex Add to cart notification](/forum/26-product-category-display/891057-bigger-image-in-vex-add-to-cart-notification#275484 "hi, how can i change the size of the image loading in vex add to cart notification from 50px to 512px ? i found this line of code :  i guess i have to change the image url to a url of a bigger thumbnail.  thanks")*

okay,
seems more complicated that what i was thinking,
so would you please tell me how to replace the 32x32px image with another 256x256px image ?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL3Byb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84OTEwNTctYmlnZ2VyLWltYWdlLWluLXZleC1hZGQtdG8tY2FydC1ub3RpZmljYXRpb24/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: 86561
- Thank you received: 14307
-
-

9 years 3 months ago [\#275487](#275487) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Bigger Image in Vex Add to cart notification](/forum/26-product-category-display/891057-bigger-image-in-vex-add-to-cart-notification#275487 "hi, how can i change the size of the image loading in vex add to cart notification from 50px to 512px ? i found this line of code :  i guess i have to change the image url to a url of a bigger thumbnail.  thanks")*

Hi,

You could replace directly the file /media/com_hikashop/images/icons/icon-32-newproduct.png
Or you could change the line :
'img_url' =&gt; HIKASHOP_IMAGES.'icons/icon-32-newproduct.png',
in the file plugins/hikashop/cartnotify/cartnotify.php in order to add instead the URL of your image.

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

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

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