hi,
I detected a serious fault in the cart when the product images on that cart is. Only happens when the product has combinations.
It turns out that when we have a product with different images on each combination and add the product to cart, instead of showing the first image of the combination, usually the third show as a general rule. It would be logical to always display the first.
In my particular case, where I have the error, it's a clothing store where we have a garment in different colors, each color has a minimum of 3 images (front, profile, rear). The images in the data sheet are shown in the correct order specified by the administrator. The problem comes when the user adds the product to cart. In the cart instead of showing the first picture (which would be the front), the third sample (back picture), that makes it is very rare.
I've been testing various prestashop shops using the internet and have the same problem does not show the first picture, I mean, it's not a problem of the template used.
The call to the image of the cart is in the template folder and the file is shopping-cart-product-line.tpl
<img src="{$link->getImageLink($product.link_rewrite, $product.id_image, 'tm_small_default')|escape:'html':'UTF-8'}" alt="{$product.name|escape:'html':'UTF-8'}" />
For an example of what I say http: //www.gallegodemontiel.com
Has anyone found the solution?