View Single Post
Old 01-17-2008, 11:37 PM
MoonDog MoonDog is offline

Advanced Member
Join Date: Aug 2007
Posts: 93

Default Re: Recently Viewed Mod

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:

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:
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 -
X-CART Gold v4.1.8
Reply With Quote