Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Installation guest account 2.2ms2


Guest

Recommended Posts

Hi everyone,

 

I just downloaded GA 2.2ms2, but i don't understand some of the instruction on the readme.txt file:

 

1. Search for "guest" in the files included in this contribution and copy everything between:

// guest account start

....(Some Brackets May be missing so pay close attention to code) AC

// guest account end

to the same place in your own files.

 

How do i do this?

 

2. Changes to database: (the are the commands in the sql file) AC

 

Add this field to table customers:

# Add customers guest_flag values to each customer

ALTER TABLE `customers` ADD `guest_flag` CHAR( 1 ) NULL DEFAULT '0';

 

Add these 2 fields to table configuration by running these lines in phpmyadmin or what ever you prefer.

# Add admin-facility to Guest Accounts

INSERT INTO configuration_group VALUES (40, 'Guests', 'Guests settings', 40, 1);

INSERT INTO configuration VALUES ('', 'Guests accounts', 'GUEST_ON', 'true', 'Allow Customers to purchase without an account', 40, 1, '2003-09-09 13:07:44', '2003-09-09 12:10:51', NULL, 'tep_cfg_select_option(array(\'true\', \'false\'),');

 

I am not a database person, so i don't know how to do this? I have phpMyadmin2.5.6 on the web server, can i use this software? But how do i use it?

 

3. are there any issues, even after the installation is already successful?

 

Thank you,

Danny

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...