Godkid Posted December 12, 2003 Share Posted December 12, 2003 K.. here's the problem I have: I deal with four types of customers.. the avg consumer, educational institutions, government institutions and my resellers. I've adopted OsC as my online presence and have been modding it to fit our needs. I've found B2B Suite to be a GREAT tool for price and group control. Now, for all but the avg. consumer, I want to to control the approval of the creation of an account, so I've added EXTERNAL custom signup pages, and added tables to store data sign up data... I've even gotten to adding the box in the admin section and am now working on displaying the relevant data and having an approve/cancel button with an automated e-mail notification. Now what I want to do is add the function where when I approve an account OsC takes the data entered in my extra table and does the relevant process of creating a customer account. I just don't know what that process entails. From the code I've guessed at: 1 - insert data into customers table 2 - insert address into address_book table After this I'm lost. Please help anyone that's able. (and if there's a contrib out there that does this I'd be grateful) Link to comment Share on other sites More sharing options...
TomThumb Posted December 12, 2003 Share Posted December 12, 2003 Take a look at this contribution. member approval http://www.oscommerce.com/community/contributions,1339 while (!succeed) {try()}; GMT -6:00 Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.