rkchapin Posted October 15, 2005 Share Posted October 15, 2005 I have notiiced some shopping carts that give an option on a login page to purchase as guest thus avoiding a password where the customer is willing for the extra hassle of entering the shipping address every time. I usually have seen this done with a radio box. Has anyone done this and does anyone have the php code snipplets to do this. Thanks in advance : :) Rob Link to comment Share on other sites More sharing options...
nana Posted October 15, 2005 Share Posted October 15, 2005 i have added a contribution that you can take a look at http://www.oscommerce.com/forums/index.php?showtopic=167064 Link to comment Share on other sites More sharing options...
rkchapin Posted October 15, 2005 Author Share Posted October 15, 2005 Thanks so much. I have unzipped your files. It seems as long as I back up my files, I should be able to upload all the files without making any manual edits. Right? The only thing that confused me is : I know that you altered the DB below but...?? ALTER TABLE `customers` ADD `createaccount` CHAR( 1 ) DEFAULT 'Y' NOT NULL ; ALTER TABLE `customers` ADD `confirmation_key `VARCHAR(40) DEFAULT 'tempemptyconfirm' NOT NULL; Is this a phpadmin thing. I am not sure how to run "use your mysql program to run the above " Excuse me for my lack of SQL experience. Rob Link to comment Share on other sites More sharing options...
nana Posted October 15, 2005 Share Posted October 15, 2005 yes but there is a space in one of the lines `confirmation_key ` where it shouldn't be so run this code ALTER TABLE `customers` ADD `createaccount` CHAR( 1 ) DEFAULT 'Y' NOT NULL ; ALTER TABLE `customers` ADD `confirmation_key`VARCHAR(40) DEFAULT 'tempemptyconfirm' NOT NULL; and yes if you run all the files you should be ok Link to comment Share on other sites More sharing options...
rkchapin Posted October 17, 2005 Author Share Posted October 17, 2005 yes but there is a space in one of the lines where it shouldn't be so run this code ALTER TABLE `customers` ADD `createaccount` CHAR( 1 ) DEFAULT 'Y' NOT NULL ; ALTER TABLE `customers` ADD `confirmation_key`VARCHAR(40) DEFAULT 'tempemptyconfirm' NOT NULL; and yes if you run all the files you should be ok Thanks Worked fine without the space. Rob Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.