- Posts: 1184
- Thank you received: 13
Payment method image missing on chage
8 years 10 months ago #282434
by verzevoul
Payment method image missing on chage was created by verzevoul
-- 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
-- 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
Please Log in or Create an account to join the conversation.
8 years 10 months ago #282436
by nicolas
Replied by nicolas on topic Payment method image missing on chage
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 /
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.
8 years 10 months ago #282492
by verzevoul
Replied by verzevoul on topic Payment method image missing on chage
Hi nicolas,
i don't understand, i added the image with jce editor.
This is my html code of the description:
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
i don't understand, i added the image with jce editor.
This is my html code of the description:
Code:
<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.
8 years 10 months ago #282494
by nicolas
Replied by nicolas on topic Payment method image missing on chage
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.
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.156 seconds