GX-Bug #56247 » GalleryImagesProductListingFix.patch
src/templates/Honeygrid/smarty/function.product_images.php (date 1523985362000) | ||
---|---|---|
46 | 46 |
i.image_name, |
47 | 47 |
a.gm_alt_text |
48 | 48 |
FROM ' . TABLE_PRODUCTS_IMAGES . ' i |
49 |
LEFT JOIN gm_prd_img_alt a ON (i.image_id = a.image_id AND |
|
49 |
LEFT JOIN gm_prd_img_alt a ON (i.image_id = a.image_id |
|
50 |
AND i.products_id=a.products_id AND |
|
50 | 51 |
a.language_id = ' . (int)$_SESSION['languages_id'] . ') |
51 | 52 |
WHERE i.products_id = ' . (int)$params['product_id'] . ' AND |
52 | 53 |
i.gm_show_image = 1 |