Developer forum

Forum » Integration » ICECAT integration issue

ICECAT integration issue

Andrejs Zavorotnijs
Reply

Hi all

We got a problem in ICECAT integration, that some of the images not shown in frontend

Looks like it is because of products types name in ICECAT and GetImage.ashx doesn't show images with symbols like “&” and “,” 

example

 
 
 
 
 
 
 
 

Frontend No Image, but if push on image, then it is work

 

I make small experiment => manually change EcomDetails for this product

create new folder with same product, change "&" to “og“, result =>

 
 

If we change all manually this doesn't helps, because after next ICECAT job this will happens again


Replies

 
Nicolai Pedersen
Reply

You need to find the place in the template and ensure that the path passed to &image is being URL encoded to support the characters &, space etc.

 
Andrejs Zavorotnijs
Reply

Here is all default, nothing changed.

Looks like this path passed to the &image straight from ecomdetail, correct me if I'm wrong

 
Nicolai Pedersen
Reply
This post has been marked as an answer

Yes I know nothing has changed, but something the template does not take into consideration.

In that last line using settings.Path use HttpUtility.UrlEncode to fix the issue. So HttpUtility.UrlEncode(settings.Path)

BR Nicolai

Votes for this answer: 1
 
Andrejs Zavorotnijs
Reply

This changes solve problem

in /Files/Templates/Designs/Rapido/Components/General/Image.cshtml

in /Files/Templates/Designs/Rapido/eCom/Product/Blocks/MainImage.cshtml

 
Nicolai Pedersen
Reply

Great, thanks for sharing.

 
Andrejs Zavorotnijs
Reply

In frontend looks good

But still 1 issue with images in BackEnd 

Is it possible to fix this?

 
Oleg Rodionov Dynamicweb Employee
Oleg Rodionov
Reply

Hi,

Yes, It's possible and will be fixed by task 5353 has been created against the issue in upcoming DW release. Thanks for observing.

BR, Oleg QA 

 
Kristian Kirkholt Dynamicweb Employee
Kristian Kirkholt
Reply

Hi Andrejs

The problem #5353 has been fixed in Dynamicweb version 9.12.4 release

You can get this from the download section https://doc.dynamicweb.com/downloads/releases

Kind Regards
Dynamicweb Support
Kristian Kirkholt

 

You must be logged in to post in the forum