dirtrider118 Posted December 15, 2015 Share Posted December 15, 2015 (edited) Hello, I was wondering if someone with more knowledge my be able to help me out. On the category page I click a product thumbnail and go to the products main page (product.tpl). If I press the browser back button and refresh the category page the thumbnail for the product i just viewed goes missing. (like the thumbnail attached) If I clear the browser cache and revisit the category page the image has returned. But when I do above again I get the same result. I have tried replacing product-list.tpl, category.tpl and product.tpl with the orignal code but i get the same result. Is there any other files i could try rolling back to original? Core files have been modified and before I spend a couple hours trying to figure out what's going on possibly this problem may be more obvious to someone else. Any help will be greatly appreciated! Prestashop 1.6.1.1 - Cache is off and force compilation is on. Thanks, Tom Edited December 15, 2015 by dirtrider118 (see edit history) Link to comment Share on other sites More sharing options...
dirtrider118 Posted December 22, 2015 Author Share Posted December 22, 2015 I found the issue in case anyone else has this problem. Turns out it was the blockviewed module that I modified. I had changed the blockviewed.php file to try and get access to the product price variable inside the blockviewed.tpl file. I followed post#3 in the below community post which caused the issue. https://www.prestashop.com/forums/topic/248206-products-price-in-block-viewed/ I ended up using post #4 and it worked perfectly! No more more missing thumbnails on refresh. 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