Payment method image missing on chage

  • Posts: 1027
  • Thank you received: 11
  • Hikashop Business
6 years 5 months ago #282434

-- HikaShop version -- : 3.2.1
-- Joomla version -- : 3.7.5
-- PHP version -- : 7.0

Hello!

in checkout page if i choose a payment method, the image that i have added in the description of one other payment method disappears and instead it shows the alt of the image file.
Why is that?

Thank you

Attachments:

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

  • Posts: 81539
  • Thank you received: 13069
  • MODERATOR
6 years 5 months ago #282436

Hi,

It seems that you're missing a slash at the beginning of the src of your images in the HTML of the description.
Try to toggle the HTML version of the description of the payment method and check the img tags. It should start with a /

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

  • Posts: 1027
  • Thank you received: 11
  • Hikashop Business
6 years 5 months ago #282492

Hi nicolas,

i don't understand, i added the image with jce editor.
This is my html code of the description:

<p><img src="images/Horizontal_Banner_transparent2.png" alt="Horizontal Banner transparent2" /><img src="images/mp_mc_acc_038px_gif.gif" alt="mp mc acc 038px gif" /></p>

If i do not change my payment method the image appears, but if i choose another one then it disappears and it shows the alt text.
It makes no sense!

Thank you

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

  • Posts: 81539
  • Thank you received: 13069
  • MODERATOR
6 years 5 months ago #282494

Hi,

That's because when you display the screen on the first time, Joomla passes on the page and add the / at the end of the page processing to fix that.
But when you change, the new HTML is returned in AJAX by HikaShop and that process doesn't happen.
So please add the / in your src attributes at the beginning and that should be ok.

The following user(s) said Thank You: verzevoul

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

Time to create page: 0.060 seconds
Powered by Kunena Forum