zjermy Posted May 19, 2018 Share Posted May 19, 2018 (edited) Helo everybody. I have a problem. I just want to finish my shop. I put product images for my shop, but when I make mouse over of product image, the roll over image didn't display correctly. Of course I put two image on product images. Can somebody to help me with solution ? I work on prestashop 1.7.2..1. My site address is https://zomoshop.ro/ro/, . Thanks Edited May 26, 2018 by zjermy (see edit history) Link to comment Share on other sites More sharing options...
zjermy Posted May 26, 2018 Author Share Posted May 26, 2018 (edited) Hello everybody, I find the solution for related problem. It mast necessary to make some modification on appagebuilder.php, on ...\appagebuilder 1. First need to replace row (apr row 2111): $obj[] = array('id' => $product['id_product'], 'content' => ($this->display(__FILE__, 'product.tpl'))); With: $obj[] = array('id' => $product['id_product'], 'content' => ($link->getImageLink($product["link_rewrite"], $product["id_image"], 'home_default'))); } 2 On second step rewrite row, (apr row 2325) : LEFT JOIN `'._DB_PREFIX_.'product_lang` pl ON (i.`id_product` = pl.`id_product`) with: LEFT JOIN `'._DB_PREFIX_.'product_lang` pl ON (i.`id_product` = pl.`id_product` AND pl.`id_lang` = '.(int)$id_lang.') And now everything become perfect Regards Edited May 26, 2018 by zjermy (see edit history) 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now