Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

defaulting to a category


Guest

Recommended Posts

Posted

One of my sites has some season specific categories. During these seasons I need to have the site default to these categories, so that's what peole find when they first go to the site... Any ideas?

Posted

If you have a welcome or logo page that links to the default.php page you can do something like this:

 

each category can be linked at differently. Get the link of a category by clicking right on it an then take this link to your page priot o the default.php. Just replace the link to the default.php with the link to the category (usually something like default.php?cPath=*NUMBER*)

 

Hope you got me.

:D

---Freakstyler in the Hood!

Posted

I believe that there is a contribution to enable and disable categories.

 

Hth,

Matt

Posted

I've just DL'd the contrib. will play with it. It looks useful but the main thing I want to do is for people to be able to go straight to the category when the get to default.php - I don't have a welcome page outside of the site. You just go straight there.

Posted

Dan

 

Just creatw an index.php page with the following content:

 

<?

header("location: default.php?cPath=XX");

?>

 

Change XX to whatever category you want to hit first.

 

Del

Archived

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

×
×
  • Create New...