indus Posted April 23, 2014 Share Posted April 23, 2014 Hi Iam using prestashop .1.6, and in the fancy add to cart pop up window, it displays cross-selling products also. But the images are blurry, its pulling the images from medium-default and i wish to change it to home-default, where is the relevant code for this. Thanks in advance. I use a custom theme. Link to comment Share on other sites More sharing options...
NemoPS Posted April 23, 2014 Share Posted April 23, 2014 OrderDetail::getCrossSells: $orderProduct['image'] = Context::getContext()->link->getImageLink($orderProduct['link_rewrite'], (int)$orderProduct['product_id'].'-'.(int)$orderProduct['id_image'], ImageType::getFormatedName('medium')); change it to home line 704 on presta 1.6.0.5 Link to comment Share on other sites More sharing options...
indus Posted April 23, 2014 Author Share Posted April 23, 2014 OrderDetail::getCrossSells: $orderProduct['image'] = Context::getContext()->link->getImageLink($orderProduct['link_rewrite'], (int)$orderProduct['product_id'].'-'.(int)$orderProduct['id_image'], ImageType::getFormatedName('medium')); change it to home line 704 on presta 1.6.0.5 THanks, but which file is this code in? Link to comment Share on other sites More sharing options...
NemoPS Posted April 23, 2014 Share Posted April 23, 2014 OrderDetail.php Link to comment Share on other sites More sharing options...
indus Posted April 23, 2014 Author Share Posted April 23, 2014 Awesome, thanks. Never thought it might be in that file. Link to comment Share on other sites More sharing options...
indus Posted April 23, 2014 Author Share Posted April 23, 2014 (edited) I need to do the same for my search block, you know which file that might be in? Edited April 23, 2014 by indus (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted April 23, 2014 Share Posted April 23, 2014 you mean search results page? Link to comment Share on other sites More sharing options...
indus Posted April 24, 2014 Author Share Posted April 24, 2014 (edited) No, the home page search drop down. Custom themes have image thumbnails alongside the search results when we type something in the search bar, anyway, i have asked the theme developer for a reply. Thanks. Edited April 24, 2014 by indus (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts