Jump to content

Front office shows wrong product image PS 1.6.1.4


algisna

Recommended Posts

Some of my product strated showing wrong images in front page..If I log to back office these  products still have right pictures.

 

I thought my DB is corrupted, I checked image tables "_image", "_image_shop", "_product_attribute_image" - they are all taging right pictures..

But front shop is still showing wrong picture from completely different product (same picture for all products affected by this issue).

Deleted cache, disabled non prestashop modules, regenerated images -  nothing helps :(

 

Any ideas?

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

Here is an example:
http://www.rcshop.lt/rcshoplt/off-road-110/1088369-vrx-racing-spirit-ebd-1-10-buggy-24ghz-rtr.html
 
Product ID 1088369. 
 
ps_image table gives following images:
  
10442 and 104441

 

In Backoffice they are displayed correctly, but front page generates link with picture 1637.
 
This happened to at least 10-20 products, always showing picture 1367

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

Thanks for everyone, I managed to solve the issue myself.. 

 

Some of 'PS_IMAGE' table  rows had emtpy strings in 'URL' column instead of NULL values.. Replaced all empty string with NULL and .... everything is fine again :)

 

Also cleared cache.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...