标签归档:viewed block

prestashop viewed block no image show

在prestashop 1.5.4.1版本,block viewed 模块有些产品图片不能显示,从ps官方找到了解决办法,写此文记录下。

modules/blockviewed/blockviewed.php
Line 104:

找到代码

1
SELECT image_shop.id_image, p.id_product, il.legend, product_shop.active, pl.name, pl.description_short, pl.link_rewrite, cl.link_rewrite AS category_rewrite

改为

1
SELECT i.id_image, p.id_product, il.legend, product_shop.active, pl.name, pl.description_short, pl.link_rewrite, cl.link_rewrite AS category_rewrite