-1

I have an oscommerce shopping cart site and I'm trying to set up an automatic redirect with 30-second time-delay from one product page to another product page, and include a message like "this prod. is now replaced by [new catalogue number]. You will be automatically redirected." How do I get into the raw HTML/PHP coding for each product so I can put a redirect meta-tag or javascript coding in? Note: I only want to set up the redirect for a handful of product pages (not all products currently on the site).

user1732206
  • 19
  • 1
  • 1
  • 6

1 Answers1

-2
<html>
<head>
<script type="text/javascript">
<!--
function delayer(){
    window.location = "productpage.php"
}
//-->
</script>
</head>
<body onLoad="setTimeout('delayer()', 5000)">
<h2>Prepare to be redirected!</h2>
<p>This page is a time delay redirect, please update your bookmarks to our new 
location!</p>

</body>
</html>​

you can use Js redirect look like above

check from here > http://jsfiddle.net/JnUVF/

Kad
  • 542
  • 1
  • 5
  • 18
  • thanks for the idea; from the merchant-admin panel, where would I insert this script? I can't seem to get into the section of the product page from the admin side of the site and I can't find any individual product-page php/html files to download and manually edit...any help would be appreciated. Thanks. – user1732206 Nov 21 '12 at 16:26
  • this also works without head section as i try. you can put to product description. if oscommerce dont strip code it should work – Kad Nov 21 '12 at 16:29
  • Unfortunately oscommerce stripped the script tags. Ah well, a direct link works for now. Thanks for the info anyways. – user1732206 Nov 21 '12 at 21:38