Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Private Store


Guest

Recommended Posts

I want to create a store front where you can not register ( I give them the username and password) and they can not even enter the store without the username and password. Also I want them to be able to update their records though. Is this possible?

 

And if you are wondering why I want to do this, it is because I am going to be selling prodcut to Car Dealerships so everything is diffrent for them and I want to keep them separate from my regular store.

 

Thanks

 

Norman F. Grimm III

Link to comment
Share on other sites

Add the following to all the files in your main directory that do not already have it:

 

 ?if (!tep_session_is_registered('customer_id')) {
? ? ? ?tep_redirect(tep_href_link(FILENAME_LOGIN, '', 'SSL'));
?}

 

 

This will direct them to the login page :D

 

Matti

Link to comment
Share on other sites

Add the following to all the files  in your main directory that do not already have it:

 

 ?if (!tep_session_is_registered('customer_id')) {
? ? ? ?tep_redirect(tep_href_link(FILENAME_LOGIN, '', 'SSL'));
?}

This will direct them to the login page  :D

 

Matti

 

I will try this out, thanks for the info and the quick responce :D

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...