Instead of showing an empty Recentlly Viewed box on the homepage before the customer has viewed any products; you can add the following code to your recently_viewed.tpl file:
find:
Code:
var p1=getCookie("p1");
var p2=getCookie("p2");
var p3=getCookie("p3");
var p4=getCookie("p4");
and after the above line of code, add the following lines of code:
Code:
if (p1){
}
else {document.write("You have no recently viewed items.")
}
And that should take care of that.
Update: Post #1 has been updated to reflect this change
- MoonDog -