Skip to main content

Add cart-picture to cart-module

More
15 years 10 months ago - 10 years 1 month ago #1656 by jonthee
Hi!

I know I have question about this before :) ..but since all I have asked agrees that a little picture should be displaed with he cart while its EMPTY and then dissapear when an item is added to it.

There must be a simple way to do this? :) I want it to be shown ONLY when the cart is empty, its a png picture.

Notice, I think you then should implement this to future versions..

Thanks in advance!
Last edit: 10 years 1 month ago by jonthee.

Please Log in or Create an account to join the conversation.

More
15 years 10 months ago #1657 by nicolas
That's an easy one. Just edit the translation file and change the translation for CART_EMPTY to something like "<img src='http://www.your_website.com/my_image.png'/>"

Please Log in or Create an account to join the conversation.

More
15 years 10 months ago #1658 by jonthee
Thanks!

Didnt think it was that obvious :)

I think you should put this in future versions, but maybe solve it in the code or something, cause the language-files doesnt update :)

Thanks again! :)

Please Log in or Create an account to join the conversation.

More
15 years 10 months ago #1659 by nicolas
It's added to the todo list.

Please Log in or Create an account to join the conversation.

More
15 years 10 months ago #1660 by jonthee
It turned out great on my page :) Really thank you!

Please Log in or Create an account to join the conversation.

More
15 years 7 months ago #6328 by meqrinda
Am I missing something?

I have changed the Empty_cart to:

CART_EMPTY="<img src=' www.infossa.com/images/stories/ext_com.png'/ >"

The images can be seen here:
www.infossa.com/images/stories/ext_com.png

Just testing with the picture.
It will be replaced later with a shopping cart image later.

Please Log in or Create an account to join the conversation.

More
15 years 7 months ago #6330 by nicolas
do you have http:// at the beginning of the URL of your image ?

Please Log in or Create an account to join the conversation.

More
15 years 7 months ago #6331 by meqrinda
Problem solved, thanks!

Please Log in or Create an account to join the conversation.

More
13 years 11 months ago #71423 by Papounet01
I followed the process but it doens'nt work on my site. Is there a link with the cart module ? I changed in language file at level cart then module. But nothing
Thanks for your help

Please Log in or Create an account to join the conversation.

More
13 years 11 months ago #71525 by nicolas
Please describe exactly what you did with screenshots if possible so that we can tell you what you did wrong.

Please Log in or Create an account to join the conversation.

More
13 years 11 months ago #71551 by Papounet01
I went to my language file as described above and replace "le panier est vide" by the same structure as : CART_EMPTY="<img src=' www.infossa.com/images/stories/ext_com.png'/ >"
I did it on 2 levels at cart level then at modules level into language file. I let in blanck the option into cart module.
I didn't forget to add http:// as mentioned above also
Thanks

Please Log in or Create an account to join the conversation.

More
13 years 11 months ago #71992 by nicolas
The override :
CART_EMPTY="<img src=' www.infossa.com/images/stories/ext_com.png'/ >"
was for that user which had the image www.infossa.com/images/stories/ext_com.png
You need to replace that URL by the URL of the image you want instead of the text since that iamge URL is not valid anymore.

Please Log in or Create an account to join the conversation.

More
13 years 11 months ago #72119 by Papounet01
Thank you but I'm not so stupid. As example I took the above structure.

My modification is : CART_EMPTY="<img src=' www.lingerie-ladya.fr/images/sac.jpg'/ >"

This modification is donne in files : french and override language

Hoping to find solution

Please Log in or Create an account to join the conversation.

More
13 years 11 months ago #72121 by Papounet01
Just to add that I also input http:// before the path

Please Log in or Create an account to join the conversation.

More
13 years 11 months ago #72415 by nicolas
I checked your website and I can see the override. in place in the cart module.
However, you didn't enter the URL www.lingerie-ladya.fr/images/sac.jpg but the URL www.lingerie-ladya.fr/web/images/sac.jpg which doesn't work. That's why you don't see the image.

Please Log in or Create an account to join the conversation.

Time to create page: 0.411 seconds
Powered by Kunena Forum