Jump to content

Crossselling images do not show on 1.5.4.1


Recommended Posts

I have upgraded my prestashop from 1.3 to 1.5.4.1.

 

There is something wrong with the crossselling module in its image display.

 

I have turned on the category list and crossselling list. The category list is showing up correctly while the crossselling list is showing the broken images.

 

 

What I observe is that

 

For the category list product image link, it is under format of

{product_id}-{image_id}-medium_default/{image_name}

 

For the crossselling list product image link , it is under the format of

{image_id}-medium_default/{image_name}

 

Why does the crossselling list miss out the {product_id} in the image path? I checked the codes, both are calling the same way of getImageLink.

 

Category List:

<img class="bordercolor" src="{$link->getImageLink($categoryProduct.link_rewrite, $categoryProduct.id_image, 'medium_default')}" alt="{$categoryProduct.name|htmlspecialchars}">

 

Crossselling List:

<img class="bordercolor" src="{$link->getImageLink($orderProduct.link_rewrite, $orderProduct.id_image, 'medium_default')}" alt="{$orderProduct.name|htmlspecialchars}">

 

Anyone can share some ideas how to fix this issue?

Edited by weichao (see edit history)
Link to comment
Share on other sites

  • 3 months later...

Hi, I'm having the same issue with latest PS. 1.5.6 and the Crossselling module that came with the new PS. (fresh download). 

 

Could you solve this issue?

 

I noticed the path of the crossselling image is pointing to a folder that it doesn't exist, and sometimes file names that it doesn't exist. I already tried regenerating thumbnails, but nothing. 

Link to comment
Share on other sites

×
×
  • Create New...