Get image url in prestashop
问题 I need to make a feed for my site for a comparing site. It has to be a sql statement. For now I have this: select pl.name as Titel, ROUND(p.price*1.21,2) as Price, replace(concat('http://', ifnull(conf.value,'domain/'), cl.name, '/', p.id_product, '-' , pl.name, '.html'),' ','-') as Link, concat('http://', ifnull(conf.value,'domain'), '/img/p/', p.id_product, '-' , pi.id_image, '.jpg') as "Image-location", cl.name as Categorie, p.id_product AS ID from dbrb_product p left join dbrb_image pi on