Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Specific Product - Redirect


jamyers79

Recommended Posts

Please help.

I have a product bundle that I've created. And I would like to have it so when the product comes up in a search that on the click, rather than going to the standard product_info.php page, I'd like it to go to a separate page. But it's only for this specific product.

 

How would I even go about doing this?

 

again, please help... I'm kind of desperate.

thx

:'(

Link to comment
Share on other sites

Please help.

I have a product bundle that I've created. And I would like to have it so when the product comes up in a search that on the click, rather than going to the standard product_info.php page, I'd like it to go to a separate page. But it's only for this specific product.

 

How would I even go about doing this?

 

again, please help... I'm kind of desperate.

thx

:'(

 

 

This is what I've done to try to get this to work...

 

in filenames.php

 

define('FILENAME_GAME_BUNDLE', gamingpackage . '.php');

 

 

then at the top of the product_info.php page:

 

<?php if (($product_info['products_id']) == '598') {

tep_redirect(tep_href_link(FILENAME_GAME_BUNDLE)); }

?>

<?php

 

 

It reads through the statement and takes it to: /product_info.php?products_id=598

 

I want it to just go to my gamingpackage.php file...

 

What am I doing wrong here?

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...