Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Log in customer after account created


MYC267

Recommended Posts

I am just doing some testing on my development site... http://dev.modyourcar.com.au

 

... I create a new account, it then proceeds to the success screen but shouldn't it keep the customer logged in?

 

Why would a customer create an account and then haev to log in? Seems like a step that's un-necessary.

 

Is this what OSC does by default or is it a bug?

Dan

Link to comment
Share on other sites

  • 1 year later...

Hi

 

I've got the same problem. Have you solved yours yet?

 

I've installed the contribs "Autologin Secure 2.01" and "Guest Account v2.2 MS2". I suppose they might have something to do with it, as the standard OsCommerce doesn't have the problem.

 

Hope you can help...

 

Regards,

Mikael

Link to comment
Share on other sites

  • 5 weeks later...
I am just doing some testing on my development site... http://dev.modyourcar.com.au

 

... I create a new account, it then proceeds to the success screen but shouldn't it keep the customer logged in?

 

Why would a customer create an account and then haev to log in? Seems like a step that's un-necessary.

 

Is this what OSC does by default or is it a bug?

 

Did anyone ever find a fix for this? I'm having the same problem.

 

Thanks for any information anyone can provide.

Link to comment
Share on other sites

Did anyone ever find a fix for this? I'm having the same problem.

 

Thanks for any information anyone can provide.

 

I solved the problem - and hopefully without messing up the functioning of the page!

 

I removed the following code from shop\create_account_success.php:

 

//TotalB2B start

tep_session_unregister('customer_id');

tep_session_unregister('customer_default_address_id');

tep_session_unregister('customer_first_name');

tep_session_unregister('customer_country_id');

tep_session_unregister('customer_zone_id');

tep_session_unregister('comments');

$cart->reset();

//TotalB2B end

 

This code was part of the TotalB2B contribution. I don't know if it messes up anything, but I haven't had any problems with the moification since I changed it for 2 months ago.

 

If you can see that it could give problems, please add to this post

 

:thumbsup:

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...