Jump to content

Edit History

gabriel81mi

gabriel81mi

Hello to everybody, I have a problem with images and products.

When I upload images it will be duplicate, in database ps_image, ps_image_shop there is just one row.

If I delete one image, will be remove both, this because is just one.

This is make big issue in frontend, because when some customer add one product will see two same products in cart (two rows like added two different product) 

Prestashop version is 1.6.1.24 and is an upgrade from one of the firsts Prestashop 1.6 version.

It is make me crazy, how can I solve it?

Thanks in advance,

Gabriele

ps_image_shop structure complete with indexes 
1882140147_Schermata2020-01-07alle21_26_24.thumb.png.485fbb45042331612290b103515f7534.png


 

ps_image structure complete with indexes 
357970699_Schermata2020-01-07alle21_26_11.thumb.png.8a9ec73d8a3cdf8eab40b0557a14972f.png

cart with 2 products after add just one 

2011232256_Schermata2020-01-07alle21_18_20.thumb.png.b452de2f7fdbb4853cadb886e0efc83e.png

Backoffice show 2 different images after add just one

78508893_Schermata2020-01-07alle21_17_40.thumb.png.40efbf98146e2d510aa656bfdfc3582e.png

And database rows show single image in ps_image and ps_image_shop

115680653_Schermata2020-01-07alle21_17_49.thumb.png.3c0108253899e2cbff4b61c16b7a7462.png24929051_Schermata2020-01-07alle21_17_55.thumb.png.28c57e091c9a04da5faaf1502a94c4d3.png


 

gabriel81mi

gabriel81mi

Hello to everybody, I have a problem with images and products.

When I upload images it will be duplicate, in database ps_image, ps_image_shop there is just one row.

If I delete one image, will be remove both, this because is just one.

This is make big issue in frontend, because when some customer add one product will see two same products in cart (two rows like added two different product) 

Prestashop version is 1.6.1.24 and is an upgrade from one of the firsts Prestashop 1.6 version.

It is make me crazy, how can I solve it?

Thanks in advance,

Gabriele

ps_image_shop structure complete with indexes 
1882140147_Schermata2020-01-07alle21_26_24.thumb.png.485fbb45042331612290b103515f7534.png


 

ps_image structure complete with indexes 
357970699_Schermata2020-01-07alle21_26_11.thumb.png.8a9ec73d8a3cdf8eab40b0557a14972f.png

cart with 2 products after add just one 

2011232256_Schermata2020-01-07alle21_18_20.thumb.png.b452de2f7fdbb4853cadb886e0efc83e.png

Backoffice show 2 different images after add just one

78508893_Schermata2020-01-07alle21_17_40.thumb.png.40efbf98146e2d510aa656bfdfc3582e.png

And database rows show single image in ps_image and ps_image_shop

115680653_Schermata2020-01-07alle21_17_49.thumb.png.3c0108253899e2cbff4b61c16b7a7462.png24929051_Schermata2020-01-07alle21_17_55.thumb.png.28c57e091c9a04da5faaf1502a94c4d3.png

 

 

 


How can I solve it? 
 

×
×
  • Create New...