Add cart-picture to cart-module

  • Posts: 57
  • Thank you received: 0
14 years 3 days ago #1656

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: 8 years 3 months ago by jonthee.

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

  • Posts: 82818
  • Thank you received: 13361
  • MODERATOR
14 years 3 days ago #1657

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.

  • Posts: 57
  • Thank you received: 0
14 years 3 days ago #1658

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.

  • Posts: 82818
  • Thank you received: 13361
  • MODERATOR
14 years 3 days ago #1659

It's added to the todo list.

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

  • Posts: 57
  • Thank you received: 0
14 years 3 days ago #1660

It turned out great on my page :) Really thank you!

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

  • Posts: 46
  • Thank you received: 0
13 years 9 months ago #6328

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.

  • Posts: 82818
  • Thank you received: 13361
  • MODERATOR
13 years 9 months ago #6330

do you have http:// at the beginning of the URL of your image ?

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

  • Posts: 46
  • Thank you received: 0
13 years 9 months ago #6331

Problem solved, thanks!

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

  • Posts: 149
  • Thank you received: 6
12 years 3 weeks ago #71423

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.

  • Posts: 82818
  • Thank you received: 13361
  • MODERATOR
12 years 3 weeks ago #71525

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.

  • Posts: 149
  • Thank you received: 6
12 years 3 weeks ago #71551

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.

  • Posts: 82818
  • Thank you received: 13361
  • MODERATOR
12 years 3 weeks ago #71992

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.

  • Posts: 149
  • Thank you received: 6
12 years 3 weeks ago #72119

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.

  • Posts: 149
  • Thank you received: 6
12 years 3 weeks ago #72121

Just to add that I also input http:// before the path

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

  • Posts: 82818
  • Thank you received: 13361
  • MODERATOR
12 years 2 weeks ago #72415

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.104 seconds
Powered by Kunena Forum