Community Add-Ons

Add file to this package
Top » Features

Purchase Without Account
for osCommerce Online Merchant v2.2

Allow your customers to choose the three following options at checkout time:

1)Proceed Directly to Checkout (no account creation)
2)Create a New Account
3)Login to Existing Account

Legend:  Download   Report

Expand All / Collapse All

PWA 2.1 account delete fix B 30 Sep 2010  

PWA creates a temporary account and deletes it at checkout.

If a PWA customer creates a 2nd order without first logging out, then the session variable will refer to the deleted customer. This produces an order without billing information.

If you unregister the customer_id session variable too soon, then that will break checkout_success.php.

One workaround is to check for a deleted account when the customer adds an item to their shopping cart, and then unregister the session variable that contains the defunct customer id.

Edit catalog/includes/application_top.php.

Find the following line.

// Shopping cart actions

Above this line insert the following code.

// PWA - Begin
if (tep_session_is_registered('customer_id') && (isset($HTTP_GET_VARS['products_id']) || isset($HTTP_POST_VARS['products_id']))) {
$query = tep_db_query("select customers_id from " . TABLE_CUSTOMERS . " where customers_id = " . (int)$customer_id);
if (tep_db_num_rows($query) == 0) {
tep_session_unregister('customer_id');
}
}
// PWA - End

PWA 2.1 account delete fix 27 Sep 2010  
PurchaseWithoutAccount v2.1 - Traduction Installation-FR 16 Feb 2010  
PWA typo fix 1 Feb 2010  
create_account bug fix 8 Oct 2009  
AutoInstaller 2.14 for Purchase Without Account v2.1 30 Jun 2009  
AutoInstaller 2.14 for Purchase Without Account v2.1 25 Jun 2009  
AutoInstaller 2.14 for Purchase Without Account v2.1 25 Jun 2009  
AutoInstaller 2.13 for Purchase Without Account v2.1 11 Jun 2009  
Auto Installer script for Purchase Without Account v2.1 9 May 2009  
Purchase Without Account v2.1 - FullPackage 9 Mar 2009  
Purchase Without Account option only if there actually is something in the shopping cart 25 Jan 2009  
PWA Customer Account Delete Add-on 16 Jan 2009  
Danish.sql added. 22 Dec 2008  
Alternative Login page for when people are not checking out 8 Aug 2008  
Purchase Without Account v2.0g 5 Aug 2008  
Purchase Without Account v2.0f 3 Aug 2008  
Login Bug Fix 3 Aug 2008  
osCommerce v2.2rc2a - Purchase Without Account v2.0e 31 Jul 2008  
osCommerce v2.2rc2a - Purchase Without Account v2.0d 29 Jul 2008  
osCommerce v2.2rc2a - Purchase Without Account v2.0c 28 Jul 2008  
osCommerce v2.2rc2a - Purchase Without Account v2.0b 18 Jul 2008  
PWA 1.25 to PWA2A update guide v.2.txt 14 Jul 2008  
customers_dummy_account bug 29 May 2008  
PWA with "simple registration" 27 May 2008  
PWA 1.25 to PWA2A update guide 27 Mar 2008  
PWA 1.25 to PWA2A update guide 27 Mar 2008  
PWA 0.71 - session bug 7 Mar 2008  
UTF8 bug fix 16 Feb 2008  
paypalstore 15 Feb 2008  
osCommerce v2.2rc2a - Purchase Without Account v2.0a 7 Feb 2008  
osCommerce MS2 - Purchase Without Account - BUG FIX 21 Dec 2007  
PWA Quick Security Fix 17 Dec 2007  
PWA 0.910 account delete fix 8 Mar 2007  
PWA - Create Account 8 Feb 2007  
English typo 31 Jan 2007  
osCommerce MS2 - Purchase Without Account 19 Oct 2006  
Fix for admin menu 7 Oct 2006  
osCommerce MS2 - Purchase Without Account + Swedish support 18 Jul 2006  
osCommerce MS2 - Purchase Without Account 3 Jul 2006  
osCommerce MS2 - Purchase Without Account 20 Jun 2006  
osCommerce MS2 - Purchase Without Account 16 Jun 2006  
osCommerce MS2 - Purchase Without Account 16 Jun 2006  
osCommerce MS2 - Purchase Without Account 15 Jun 2006  
Disable pWA 1.12a when cart is empty 22 May 2006  
Country State Selector W/ marix version 12 Apr 2006  
Enlish only Version 31 Mar 2006  
PWA update 30 Mar 2006  
Purchase Without Account 1.1.2a 27 Mar 2006  
Purchase Without Account 1.1.2 27 Mar 2006  
Purchase Without Account 1.1 20 Mar 2006  
Purchase Without Account 1.1 18 Mar 2006  
Phone Number Fix 21 Dec 2005  
Purchase without Account 1.0.2 8 Dec 2005  
Fixing "Failed to initialize storage module" 29 Nov 2005  
Version 0.910 - Update 27 Nov 2005  
Purchase without Account 1.0.1 (new!) 25 Nov 2005  
Login Page a la Amazon + Purchase w/o Account 12 Nov 2005  
Version 0.910 6 Nov 2005  
Version 0.90 2 Nov 2005  
PWA 0.82 ZIP with Patch files 18 Aug 2005  
Wrong error name when you don't select a Gender. In the spanish 25 Jul 2005  
Install PWA v0.82 11 Jul 2005  
any Full version 8 Jul 2005  
PWA straight to checkout Ross Gillette 25 Mar 2005  
Spanish UPDATE for PWA_0.82 Ross Gillette 23 Feb 2005  
Bug Fix For Error 404 When using Search Engine safe URLs Nathan Arendt 17 Feb 2005  
PWA v0.82 Didier Debbaut 10 Nov 2004  
PWA v0.81 Didier Debbaut 3 Nov 2004  
PWA v0.80 Didier Debbaut 30 Jun 2004  
Install Instructions Cleaned Up Maggie Elrawy 2 Jun 2004  
PWA v0.71 Sarfaraz Rydhan 16 May 2004  
PWA v0.70 kumar mcmillan 30 Dec 2003  
PWA v0.60d - compatibility w/ STS bugfix Graham Burks 15 Dec 2003  
PWA v0.60c kumar mcmillan 23 Oct 2003  
PWA v0.60b Justin Baldwin 19 Aug 2003  
PWA v0.60a Justin Baldwin 18 Aug 2003  
PWA v.0.60 Justin Baldwin 17 Aug 2003  
update for MS2 Afan Ottenheimer 15 Aug 2003  
06/22/2003 - PWA Face Lift 1.1 - Addon Only Brett Anderson 5 Jul 2003  
PWA Face Lift - Addon Only Lee Nielsen 22 Jun 2003  
Fatal Error Fix Michael Woods 1 Jun 2003  
Purchase Without Account v0.59 runtime fix Barry McEwan 21 Apr 2003  
Purchase Without Account v0.58 fix Barry McEwan 12 Apr 2003  
Purchase Without Account v0.58 Barry McEwan 11 Apr 2003  
Purchase Without Account v0.57 Barry McEwan 8 Apr 2003  
Order_Info v.0.56fix Richard Chiswell 8 Mar 2003  
Order_Info v.0.56 Richard Chiswell 8 Mar 2003  
Purchase Without Account v0.55 Mike 7 Oct 2002  
Purchase Without Account v0.54-fix Mike 5 Oct 2002  
Purchase Without Account v0.54 Mike Thierfelder 4 Oct 2002  
Purchase Without Account v0.53 Cheng 26 Sep 2002  
Purchase Without Account v0.52 Cheng 22 Sep 2002