Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Purchasing as guest


rkchapin

Recommended Posts

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

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

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

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...