Dmmjr Posted October 9, 2013 Share Posted October 9, 2013 Hey guys. SITE URL: http://www.cyberwarecomputers.com/store/ The viewed products block on the doesn't show pictures for me. It just shows "No image available". Sometimes it does, but it usually doesn't. I have tried clearing my cache and all that good stuff but it seems to be reoccurring. Can anyone share some insight on this? Link to comment Share on other sites More sharing options...
benjamin utterback Posted October 11, 2013 Share Posted October 11, 2013 Take a look at this GitHub fix, you would have to change a file but make sure you back up first! https://github.com/PrestaShop/PrestaShop/commit/d096a5845e844aabb21a4aba41c7ae398bf104ce 1 Link to comment Share on other sites More sharing options...
Dmmjr Posted October 11, 2013 Author Share Posted October 11, 2013 Take a look at this GitHub fix, you would have to change a file but make sure you back up first! https://github.com/PrestaShop/PrestaShop/commit/d096a5845e844aabb21a4aba41c7ae398bf104ce That made the whole entire block disappear. It was located to the left on my shop. Link to comment Share on other sites More sharing options...
Dmmjr Posted October 12, 2013 Author Share Posted October 12, 2013 The block has disappeared after the changes. How do I get it back!?!?! Link to comment Share on other sites More sharing options...
vekia Posted October 12, 2013 Share Posted October 12, 2013 what you exactly changed? im asking because you probably have got there some problems with query, if i were you, i will try to copy whole contents of file: https://github.com/PrestaShop/PrestaShop/blob/d096a5845e844aabb21a4aba41c7ae398bf104ce/modules/blockviewed/blockviewed.php Link to comment Share on other sites More sharing options...
Dmmjr Posted October 12, 2013 Author Share Posted October 12, 2013 what you exactly changed? im asking because you probably have got there some problems with query, if i were you, i will try to copy whole contents of file: https://github.com/PrestaShop/PrestaShop/blob/d096a5845e844aabb21a4aba41c7ae398bf104ce/modules/blockviewed/blockviewed.php I did that and it is still not showing up. Link to comment Share on other sites More sharing options...
zeisei Posted September 19, 2014 Share Posted September 19, 2014 (edited) I did what Vekia said in post #5 and it finally worked just fine. Nice one Vekia. But, i also had to change in the blockviewed.tpl in themes/modules the line ' viewedProduct->cover, 'medium_default') ' from the image extension 'medium_default' to an actual image file extension that existed in my server (i dont use the presta native theme) Edited September 19, 2014 by zeisei (see edit history) 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