![]() |
Lock new customer accounts by default |
Post Reply ![]() |
Author | |
James ![]() Newbie ![]() Joined: 26-January-2007 Location: United Kingdom Status: Offline Points: 0 |
![]() ![]() ![]() ![]() ![]() Posted: 13-February-2007 at 12:36pm |
Is it possible to change ProductCart's default "Lock" status for new customer accounts (in Control Panel's Modify Customer page) so that when they register, the "Lock" tickbox is automatically ticked? Why? We want to allow new customers to register online but we don't want them to be able to login until we manually untick the "Lock" tickbox (in Control Panel's Modify Customer page). I'm sure this can be achieved by simply changing a "1" to a "0" or somthing similar but I need a little direction please...
|
|
![]() |
|
netprofits ![]() Certified ProductCart Developers ![]() Joined: 05-January-2006 Location: United States Status: Offline Points: 22 |
![]() ![]() ![]() ![]() ![]() |
If you have access to modifying the database, the easiest option would be to set a default value for the customerType field to be 3 (which means the customer is locked). Then when a new record is created, the customer will be locked.
|
|
![]() |
Post Reply ![]() |
|
Tweet
|
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |