osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 
 

Guest Account v 2.0

This is a discussion on Guest Account v 2.0 within the New osCommerce Contributions forums, part of the osCommerce 2.2 Forums category; If you edited a guest customer in the admin area and this customer's email address already exists in another customer ...


Go Back   osCommerce and osCMax shopping cart software forums > osCommerce 2.2 Forums > New osCommerce Contributions

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Closed Thread

 

LinkBack Thread Tools
  #1  
Old 02-15-2007, 03:06 PM
michael_s's Avatar
osCMax Developer

 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 10,992
Thanks: 80
Thanked 345 Times in 324 Posts
Rep Power: 10
michael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond repute
Post Guest Account v 2.0

If you edited a guest customer in the admin area and this customer's email address already exists in another customer record, you cannot successfully save the guest customer until you change the email address to something unique.

Small change to the query on line 143 of /admin/customers.php fixes this problem:

//guest account
$check_email = tep_db_query("select customers_email_address from " . TABLE_CUSTOMERS . " where customers_email_address = '" . tep_db_input($customers_email_address) . "' and customers_id != '" . (int)$customers_id . "' AND guest_flag!=1");

. not full package
. only corrected file

More...
__________________
Michael Sasek
osCMax Developer


  • osCMax Templates - Hundreds of premium quality templates designed for osCMax 2. Loyalty discounts up to 30% off!
    Each purchase supports the osCMax project with much needed funds!

  • xShop for osCMax - Windows Based osCMax administration. Improved workflow, security, speed and convenience.

  • osCMax Hosting - From basic hosting to High Availability, Load Balanced arrays, the most experienced osCMax host. Default multi server configuration for exceptional performance!

  • osCMax Template Tutorial - Learn how to make your own custom templates and how to use the powerful features of the osCMax template system.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
Closed Thread

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
Welcom Guest! doesn't show Keilup osCMax v1.7 Discussion 1 10-28-2004 02:27 PM
Who's Online are all Guest rd42 osCommerce 2.2 Installation Help 0 01-08-2004 07:26 AM
Changing default Guest to something else... angie201 osCommerce 2.2 Modification Help 8 12-09-2003 07:51 PM
Able to redeem gift voucher as guest disciple osCommerce 2.2 Modification Help 13 08-20-2003 02:30 PM
Non-member/guest check-out contributions Dumb_Question osCommerce 2.2 Modification Help 0 12-31-2002 05:36 AM


All times are GMT -8. The time now is 09:20 AM.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO
http://www.oscmax.com/forums/
Copyright 2008 osCMax