Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Different Index Page When Customer Logs In


sydney

Recommended Posts

Hello,

 

When my customers log in, I would like them to be redirected to a different index page that shows current specials and other information not available on the "Public" index and not available to anyone who is not logged in.

 

I have the "Prices for Logged in Users Only" contribution.

 

I still want a public index that has general info, etc.

 

I have searched through the forums and contributions but wasn't able to find anything.

 

If anyone could help me, I'd GREATLY appreciate it!!

 

Thanks!!

 

Sydney

Link to comment
Share on other sites

Hello,

 

When my customers log in, I would like them to be redirected to a different index page that shows current specials and other information not available on the "Public" index and not available to anyone who is not logged in.

 

I have the "Prices for Logged in Users Only" contribution.

 

I still want a public index that has general info, etc.

 

I have searched through the forums and contributions but wasn't able to find anything.

 

If anyone could help me, I'd GREATLY appreciate it!!

 

Thanks!!

 

Sydney

 

 

you just incorporate :

 

if (tep_session_is_registered('customer_id')) {

add the stuff for signed in customers only

}

Treasurer MFC

Link to comment
Share on other sites

you just incorporate :

 

if (tep_session_is_registered('customer_id')) {

add the stuff for signed in customers only

}

 

Hello!

 

Thanks for the reply!

 

I will try this but I will have to figure out how to do this!

 

I'm assuming that I do this in public_html/index.php and that I will have to add the same kind of stuff that is in there now for define_TEXT_MAIN.

 

Thanks again!

 

Regards,

Sydney

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...