Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

pay without account question


magicmonkey

Recommended Posts

Hi

 

Apologies if this is a stupid question and is in the wrong place but i'm trying to install "pay without account" v0.82 contribution (which i think is the latest).

 

I've uploaded the files, but do I really need to go into the server backend and use phpadmin to do this (see below)?

 

 

ALTER TABLE customers ADD purchased_without_account TINYINT(1) UNSIGNED DEFAULT '0' NOT NULL AFTER customers_id;

ALTER TABLE customers ADD INDEX (purchased_without_account);

INSERT INTO configuration_group VALUES (40, 'Accounts', 'Configuration of Account settings', 40, 1);

INSERT INTO configuration VALUES ('', 'Purchase Without Account', 'PWA_ON','true','Allow Customers to purchase without an account', 40, 1, '2003-04-08 13:07:44', '2003-04-08 12:10:51', NULL, 'tep_cfg_select_option(array(\'true\', \'false\'),');

ALTER TABLE orders ADD purchased_without_account TINYINT (1) UNSIGNED DEFAULT '0' NOT NULL;

 

I've got no php experience and this all seems a bit daunting. Any help would be greatly appreciated..

Link to comment
Share on other sites

Hi

 

Apologies if this is a stupid question and is in the wrong place but i'm trying to install "pay without account" v0.82 contribution (which i think is the latest).

 

I've uploaded the files, but do I really need to go into the server backend and use phpadmin to do this (see below)?

ALTER TABLE customers ADD purchased_without_account TINYINT(1) UNSIGNED DEFAULT '0' NOT NULL AFTER customers_id;

ALTER TABLE customers ADD INDEX (purchased_without_account);

INSERT INTO configuration_group VALUES (40, 'Accounts', 'Configuration of Account settings', 40, 1);

INSERT INTO configuration VALUES ('', 'Purchase Without Account', 'PWA_ON','true','Allow Customers to purchase without an account', 40, 1, '2003-04-08 13:07:44', '2003-04-08 12:10:51', NULL, 'tep_cfg_select_option(array(\'true\', \'false\'),');

ALTER TABLE orders ADD purchased_without_account TINYINT (1) UNSIGNED DEFAULT '0' NOT NULL;

 

I've got no php experience and this all seems a bit daunting. Any help would be greatly appreciated..

 

Short answer - the developers of contributions give precise instructions to make their contributions work as designed - if that is what PWA says - then you will have to do it !

 

It should not be difficult - cut the exact text from your unzipped download of the contribution

 

Paste it to the SQL tab of phpMyadmin for the TABLES you wish it to run on (Customers and Configuration by a quick look at the snippet above)

 

BEFORE you do the sentence above make sure you have backed up your database in case you mess it up - It happens to the best of us.

 

Charles

A kite flies highest AGAINST the wind !

 

"Life should NOT be a journey to the grave with the intention of arriving safely in an attractive and well preserved body, but rather to skid in sideways, a lover in one hand, martini in the other, body thoroughly used up, totally worn out and screaming ~ WOO HOO!! What a ride!"

Link to comment
Share on other sites

Short answer - the developers of contributions give precise instructions to make their contributions work as designed - if that is what PWA says - then you will have to do it !

 

It should not be difficult - cut the exact text from your unzipped download of the contribution

 

Paste it to the SQL tab of phpMyadmin for the TABLES you wish it to run on (Customers and Configuration by a quick look at the snippet above)

 

BEFORE you do the sentence above make sure you have backed up your database in case you mess it up - It happens to the best of us.

 

Charles

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...