CharlieFoxtrot
2010-10-10 13:55:23
Instead of just telling the customer that the category no longer exists (or has been renamed)... I thought it would be nice to ALSO show a list of featured products as well. (Why waste any opportunity to sell something?!)
Here's what I did for ISC 4.07. ~~ This technique may work in other versions, but I cannot test it. (As usual, make backups, test before going live... yadda-yadda-yadda.)
OPEN FILE: /templates/YOURTEMPLATE/404.html
SEARCH FOR:
%%Banner.BottomBanner%%ABOVE THAT, ADD:
%%Panel.HomeFeaturedProducts%%FORMATTED END RESULT LOOKS LIKE:
<div class="Content Wide" id="LayoutColumn2">
<h2>%%LNG_NotFound%%</h2>
<div class="BlockContent">
<p class="ErrorMessage">
%%LNG_NotFoundError%%
</p>
<p>%%LNG_NotFoundReasonTitle%%</p>
<ul>
<li>%%LNG_NotFoundReason1%%</li>
<li>%%LNG_NotFoundReason2%%</li>
</ul>
</div>
%%Panel.HomeFeaturedProducts%%
%%Banner.BottomBanner%%
</div>
Save your changes, upload the 404.html file... test your site.