Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

How toprevent user from logining on after account is created


winstanley_john

Recommended Posts

Posted

You need to look at catalog/create_account_process.php

 

    tep_session_register('customer_id');

   tep_session_register('customer_first_name');

   tep_session_register('customer_default_address_id');

   tep_session_register('customer_country_id');

   tep_session_register('customer_zone_id');



// restore cart contents

   $cart->restore_contents();

 

These are the lines the log the new customer in. Just commenting them out should achieve what you want.

Trust me, I'm an Accountant.

Posted

Looks like the create_account_process.php file has been removed in snapshpt post 20th May 2003 I found the lines these lines

 

tep_session_register('customer_id');

tep_session_register('customer_first_name');

tep_session_register('customer_default_address_id');

tep_session_register('customer_country_id');

tep_session_register('customer_zone_id');

 

in create_account.php about line 215

Posted

Hehe,

 

Haralds must have been busy :lol:

 

The snapshot I have is 19th May :shock:

 

Any way glad you found it.

Trust me, I'm an Accountant.

Archived

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

×
×
  • Create New...