Community Add-Ons

Add file to this package
Top » Features

Login Page a la Amazon
for osCommerce Online Merchant v2.2

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

Legend:  Download   Report

Expand All / Collapse All

Login.php for multi-store/multi-shop aegrnberg 13 Dec 2006  

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 weblogic 3 Feb 2006  
Login Page a la Amazon + Purchase w/o Account mikelopez 12 Nov 2005  
Directions for install with BTS pete russell 8 Mar 2005  
1 Jan 2005 - Version 1.4 - Swedish translation Karl Kihlbom 6 Mar 2005  
Version 1.4 Steve Lionel 1 Jan 2005  
Login Page a la Amazon 1.3 -multilanguage- Unai Aldana 18 Dec 2004  
Version 1.2 Steve Lionel 30 Oct 2004  
Login Page a la Amazon 1.1 -multilanguage- Philipp Bellenhaus 15 Jul 2004  
Version 1.1 Steve Lionel 26 Jun 2004  
Login Page a la Amazon Steve Lionel 6 May 2004