Contributions
Login Page a la Amazon
This contribution changes the login page of osCommerce to more closely resemble that of amazon.com. Rather than two parts to the page, one for returning customers and one for new customers, the new page first asks the customer for their e-mail address. It then asks if they have a password for the store, and if yes, what it is. If they say they have a password or type one in, they are logged in. If they say they do not have a password, they are taken to the Create Account page with the e-mail address filled in.
For 2.2-MS2
Support at http://forums.oscommerce.com/index.php?showtopic=91791
Expand All / Collapse All
If you have a multi-store multi-shop version, make sure you do not overwrite this line in the login.php file:
// Check if email exists //rmh M-S_pricing edited next line
$check_customer_query = tep_db_query("select customers_id, customers_groups_id, customers_firstname, customers_password, customers_email_address, customers_default_address_id from " . TABLE_CUSTOMERS . " where customers_email_address = '" . tep_db_input($email_address) . "'");
Otherwise you will get the error I received, which I posted here:
http://forums.oscommerce.com/index.php?showtopic=241655
For extra peace of mind you may also want to implented suggestions from this thread:
http://forums.oscommerce.com/index.php?sho...=241614&hl=
The attachment is only the login.php on how your multi-store/multi-shop login.php file should look like.
This took me a couple of frustrated days to figure out and almost wanted to give up and start again from scratch. I hope this saves someone out there some time!!!
French translation is added in the README.txt as some others languages
I was assigned the task to install 18 contributions (imagine how much trouble that is) and I came across the problem of reconciling the Login Page a la Amazon and Purchase without Account BUT I got it to work.
Attached is a zipped text file detailing how to do it.
This is only a text file with instructions for installing with the BTS template system.
Only a Swedish translation
Fix tab behavior in login form. Correct Spanish-language defines. Includes English, German and Spanish language defines.
This is the complete contribution including the spanish-language file. All credits goes to Steve Lionel.
At the suggestion of Scott Moore, added code to warn the user on the login page if they say they don't have an account but the e-mail address already exists in the database, rather than waiting until they fill in the Create Account form. Includes the German language text added by Philipp Bellenhaus.
If you are upgrading from version 1.1, the first two change sets for catalog/login.php are what has changed.
This is the complete contribution including the german-language file. All credits goes to Steve Lionel.
This revision updates the login page to display the NEW_CUSTOMER_INTRODUCTION text in a box on the right, similar to what Amazon.com does. Other minor changes include fixing the create_account redirect to specify SSL and making the "Yes, I have a password" radio button be initially selected.
If you installed version 1.0, just drop in the changes listed for catalog/login.php (they go in the same places) and edit the text for TEXT_NEW_CUSTOMER in the languages login.php. create_account.php did not change.
This contribution changes the login page of osCommerce to more closely resemble that of amazon.com. Rather than two parts to the page, one for returning customers and one for new customers, the new page first asks the customer for their e-mail address. It then asks if they have a password for the store, and if yes, what it is. If they say they have a password or type one in, they are logged in. If they say they do not have a password, they are taken to the Create Account page with the e-mail address filled in.
For 2.2-MS2
Support at http://forums.oscommerce.com/index.php?showtopic=91791
Note: Contributions are used at own risk.