Print Page | Close Window

Lock new customer accounts by default

Printed From: ProductCart E-Commerce Solutions
Category: ProductCart
Forum Name: Customizing ProductCart
Forum Description: Exchange messages with other users that are customizing ProductCart.
URL: https://forum.productcart.com/forum_posts.asp?TID=658
Printed Date: 30-November-2024 at 6:04pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Lock new customer accounts by default
Posted By: James
Subject: Lock new customer accounts by default
Date 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...



Replies:
Posted By: netprofits
Date Posted: 15-February-2007 at 7:14am
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.

-------------
NetProfits Internet Consulting

Certified ProductCart Developer

http://www.nicwebdesign.com" rel="nofollow - Our Site



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net