Add image in empty cart

  • Posts: 1074
  • Thank you received: 11
  • Hikashop Business
2 weeks 3 days ago #365538

-- HikaShop version -- : 5.1.3
-- Joomla version -- : 5.1.2

Hi!

I added the html code to add an image when the cart is empty but it is not working anymore. I used to do this all the time with Hikashop cart but lately i cannot. I added

<img src="images/cart-black.png">
in translation and i also tried it in the cart module but after i save it disappears.

So how can i add an image there?

Thank you

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

  • Posts: 83306
  • Thank you received: 13469
  • MODERATOR
2 weeks 3 days ago #365539

Hi,

We didn't change this.
You should be able to do it with a translation override:
www.hikashop.com/download/languages.html#modify
Note that the format of overrides is like this:
KEY="Value"
and in Value, you can't use double quotes. You can use simple quotes instead. Maybe that's the problem ?

The following user(s) said Thank You: verzevoul

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

  • Posts: 1074
  • Thank you received: 11
  • Hikashop Business
2 weeks 3 days ago #365548

Hi!

Okay i tried without the "" and i only works at homepage, at the other pages it shows that the image path is wrong so the image doesn't load.
Can i send you access?

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

  • Posts: 83306
  • Thank you received: 13469
  • MODERATOR
2 weeks 3 days ago #365549

Hi,

I don't need the backend access.
You have 2 ways to solve the issue:

- you can use the full URL (with https and the domain name) in your img tag's src attribute.

- you can configure Joomla's configuration page to remove the index.php from the URL:
www.balbooa.com/help/knowledge-base/seo/...-index-php-from-urls

The following user(s) said Thank You: verzevoul

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

Time to create page: 0.036 seconds
Powered by Kunena Forum