Jump to content

Disable new customers by default


Recommended Posts

Hello there!

 

I'm facing a little problem here, I want my customers status set to disabled by default when creating a new account in my shop.

 

I have been looking at the file AuthController.php and "$customer->active = 1;".

 

If I set it to 0, it actually works. But now the problem is that it also disables the guest checkout.

 

Customers should be able to use the guest checkout, but if they want to create an account, the admin must set their status to enabled first.

 

How do I solve this?  :)

Link to comment
Share on other sites

  • 2 weeks later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...