Community Add-Ons
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
Since I installed this wonderful contribution I have a serious problem: a client can register
itself as many times as desired¡¡¡¡
To correct this we must look in catalog/create_account.php
// PWA BOF 2b
$check_email_query = tep_db_query("select count(*) as total from " . TABLE_CUSTOMERS . "
where customers_email_address = '" . tep_db_input($email_address) . "' and guest_account !=
'1'");
// PWA EOF 2b
and replace with the original text:
$check_email_query = tep_db_query("select count(*) as total from " . TABLE_CUSTOMERS . "
where customers_email_address = '" . tep_db_input($email_address) . "'");
That's all ¡¡¡
Best Regards
reflex-ocasion
The content of the pwa_autoinstaller/index.php file was moved to control.php to make the php version check work.
Autoinstaller 2.14 for Purchase Without Account v2.1 by faaliyet (9 Mar 2009)
The Auto Installer script requires PHP 5.2.0 !
Download the package and view the screenshots of what you will get after the installation.
Improved regular expression replace pattern for login.php
Autoinstaller 2.14 for Purchase Without Account v2.1 by faaliyet (9 Mar 2009)
The Auto Installer script requires PHP 5.2.0 !
Download the package and view the screenshots of what you will get after the installation.
The "Edit Manually" button fixed
Autoinstaller 2.14 for Purchase Without Account v2.1 by faaliyet (9 Mar 2009)
The Auto Installer script requires PHP 5.2.0 !
Download the package and view the screenshots of what you will get after the installation.
Few lines of code were added to list all the files that should have 777 permissions.
Autoinstaller 2.13 for Purchase Without Account v2.1 by faaliyet (9 Mar 2009)
The Auto Installer script requires PHP5 !
Download the package and view the screenshots of what you will get after the installation.
Autoinstaller 2.10 for Purchase Without Account v2.1 by faaliyet (9 Mar 2009)
The script automatically install the contribution: copy files, edit files, alter database tables.
It saves a backup before any action.
The Auto Installer script requires PHP5 !
Download the package and view the screenshots of what you will get after the installation.
Purchase Without Account v2.1 - FullPackage
It's a useful contribution.
Thanks to all contributors for this contribution.
PWA v2.1 (With All Updates and Fixes)
-I've fixed 'step 2' in the update(16 Jan 09) by celextel.
Because 'product notification' will be available for current users.
+My fix.
+Purchase Without Account v2.0g
+Danish.sql
+PWA Customer Account Delete Add-on
+Purchase Without Account option only if there actually is something in the shopping cart
Seyhun Cavus(faaliyet)
Use this option to show Purchase Without Account option only if there actually is something in the shopping cart. If the shopping cart is empty, clicking on MY ACCOUNT will display only the login and create account options.
Just a single line to modify. It takes no more than 30 seconds to complete.
THIS IS NOT THE FULL ADDON. Apply this on 2.0f version.
Please make these changes to delete the temporary customer account after a customer does the purchase through PWA. Temporary customer account created through PWA also gets deleted if the customer does the logoff before completing the purchase. My Account and Logoff links would not show up after the Checkout Success.
NOTE: This is not the full contribution. Please make these changes after you install the "Purchase Without Account v2.0f".
Danish.sql is added to the package.
Added alternative login page so the checkout message doesn't appear when people just login to their account.
-Added optional step for Points and Rewards contrib will not show the points info in product info if the customer is not logged in.
Couple of bug fixes. Including login bug fix.
Full package + Update guide
I ran into a bug when trying to log in to my account. There is an extra field added in the new code that is not in the db "customers_block". This is the section of the instructions where there is a problem (at least for me)...
13. /catalog/login.php
***FIND:
$check_customer_query = tep_db_query("select customers_id, customers_firstname, customers_password, customers_email_address, customers_default_address_id from " . TABLE_CUSTOMERS . " where customers_email_address = '" . tep_db_input($email_address) . "'");
***REPLACE WITH:
// PWA BOF
// using guest_account with customers_email_address
$check_customer_query = tep_db_query( "select customers_id, customers_firstname, customers_password, customers_email_address, customers_default_address_id, customers_block, guest_account from " . TABLE_CUSTOMERS . " where customers_email_address = '" . tep_db_input($email_address). "' and guest_account='0'");
// PWA EOF
IF YOU GET AN ERROR, remove customers_block, from the new code. As soon as I removed that it worked. BLANK FILE ATTACHED.
--changed the page title and bread crumb on create_account.php when a customer is checking out with PWA. It was confusing and looked like the customer was creating an account.
--if the customer is a guest OR using PWA don't show link in navbar to my account
Full Package+update guide
corrected step 3 in instructions there was a duplicate line.
Minor changes. Updated upgrade guide, added installation instructions.
PWA is Purchase without account, not create and KEEP an invisible account. Based on PWA 2a
1. The 'dummy account' is now deleted when the 'PWA customer' a. completes and order b. logs off.
2. version 2a was storing the email address in two different columns of the database, I changed this to a simple is or is not account flag(guest_account).
3. no option for product notifications on checkout_success.php
4. Updated 1.25 to PWA2A update guide
updates guide to move from version 1.25 to version 2. Did not include customers_dummy_account bug fix (seems to work without) but I may be wrong or simple registration.
The 'customer_is_guest' session variable was not being used to set the customers_dummy_account flag.
You can use the following in checkout_process to fix the issue.
Find:
$sql_data_array = array('customers_id' => $customer_id,
'customers_name' => $order->customer['firstname'] . ' ' . $order->customer['lastname'],
'customers_company' => $order->customer['company'],
'customers_street_address' => $order->customer['street_address'],
'customers_suburb' => $order->customer['suburb'],
'customers_city' => $order->customer['city'],
'customers_postcode' => $order->customer['postcode'],
'customers_state' => $order->customer['state'],
'customers_country' => $order->customer['country']['title'],
'customers_telephone' => $order->customer['telephone'],
'customers_email_address' => $order->customer['email_address'],
'customers_address_format_id' => $order->customer['format_id'],
// PWA BOF
'customers_dummy_account' => $order->customer['is_dummy_account'],
// PWA EOF
Replace with:
//PWA
if(tep_session_is_registered('customer_is_guest')) {
$is_dummy_account_tmp = 1;
} else {
$is_dummy_account_tmp = 0;
} //PWA
$sql_data_array = array('customers_id' => $customer_id,
'customers_name' => $order->customer['firstname'] . ' ' . $order->customer['lastname'],
'customers_company' => $order->customer['company'],
'customers_street_address' => $order->customer['street_address'],
'customers_suburb' => $order->customer['suburb'],
'customers_city' => $order->customer['city'],
'customers_postcode' => $order->customer['postcode'],
'customers_state' => $order->customer['state'],
'customers_country' => $order->customer['country']['title'],
'customers_telephone' => $order->customer['telephone'],
'customers_email_address' => $order->customer['email_address'],
'customers_address_format_id' => $order->customer['format_id'],
// PWA BOF
'customers_dummy_account' => $is_dummy_account_tmp,
//'customers_dummy_account' => $order->customer['is_dummy_account'],
// PWA EOF
NOT A FULL PACKAGE!
Simple registration is a contrinution with which a new customer only needs to provide name, email adress and password to register (the rest can then be completed at a later state). Until now simple registration was incompatible with pwa. If the user chooses not to register he now only needs to provide name and email-adress. This file contains the full installation of PWA as well as the additional files for PWA with simple registration.
for an example visit spreadkaioo.com/shop
PWA 1.25 to PWA2A Update Guide
NOTE: YOU NEED TO HAVE RC2 installed
Forum: http://forums.oscommerce.com/index.php?showtopic=40352&hl=purchase+without+account
forgot to include:
Execute the "common.sql" with PHPMyAdmin or another MySQL-Client
PWA 1.25 to PWA2A Update Guide
NOTE: YOU NEED TO HAVE RC2 installed
Forum: http://forums.oscommerce.com/index.php?showtopic=40352&hl=purchase+without+account
Hi,
My clients was facing problem with PWA. Problem was after place order, all information saved in local computer, after a long period some other use that computer then all information are shown there. like, name, billing address, shipping address ...etc.
I have found a solutions for them.
Note: IF need any correction according to you. then correct that and inform me too.
---------------------------------------------
checkout_success.php
After :
tep_db_query("delete from " . TABLE_ADDRESS_BOOK . " where customers_id = '" . tep_db_input($customer_id) . "'");
tep_db_query("delete from " . TABLE_CUSTOMERS . " where customers_id = '" . tep_db_input($customer_id) . "'");
tep_db_query("delete from " . TABLE_CUSTOMERS_INFO . " where customers_info_id = '" . tep_db_input($customer_id) . "'");
tep_db_query("delete from " . TABLE_CUSTOMERS_BASKET . " where customers_id = '" . tep_db_input($customer_id) . "'");
tep_db_query("delete from " . TABLE_CUSTOMERS_BASKET_ATTRIBUTES . " where customers_id = '" . tep_db_input($customer_id) . "'");
tep_db_query("delete from " . TABLE_WHOS_ONLINE . " where customer_id = '" . tep_db_input($customer_id) . "'");
tep_session_destroy();
Add :
tep_session_unregister('customer_id');
tep_session_unregister('customer_default_address_id');
tep_session_unregister('customer_first_name');
// Eversun mod for sppc and qty price breaks
tep_session_unregister('sppc_customer_group_id');
tep_session_unregister('sppc_customer_group_show_tax');
tep_session_unregister('sppc_customer_group_tax_exempt');
// Eversun mod for sppc and qty price breaks
tep_session_unregister('customer_country_id');
tep_session_unregister('customer_zone_id');
tep_session_unregister('comments');
//ICW - logout -> unregister GIFT VOUCHER sessions - Thanks Fredrik
tep_session_unregister('gv_id');
tep_session_unregister('cc_id');
//ICW - logout -> unregister GIFT VOUCHER sessions - Thanks Fredrik
$cart->reset();
Note: This is not complete package.
Regards
Ravindra Singh
customers_password field was accidentally changed to UTF8, may break some people. Updated common.sql file.
the paypal interface for processing credit cards
(Missing files in last submission, my first one, please ignore).
Completely overhauled the PWA extension to not have dependency on customer_id 0/1. An account is created just like normally, and is tagged as a "dummy account".
This allows for an address user interface similar to creating an account, while at the same time significantly reducing the number of changes (less files affected).
The reduced changes also fix many inadvertant bugs (the last 3 bugfixes submitted).
DON'T FORGET TO RUN common.sql AND english.sql (or whatever language you prefer).
This is not a COMPLETE package!
This is a bug fix for PWA with Seperate Shipping Address.
The BUG:
When user uses PWA with different billing/shipping addresses, he is taxed based on the billing address.
FIX:
User is not taxed based on the shipping address.
Easy installation with clear instructions.
This is a simple version.. probably can be improved but for a quick fix untill someone pro comes along, this should help you if customers who purchased using PWA can see each others orders / addresses etc.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Installation:
BACKUP!!
checkout_sucess.php
FIND: require('includes/application_top.php');
BELOW ADD: include('includes/orderciddbupdate.php');
admin/orders.php
FIND: if ($orders['customers_id']==0) $orders['customers_name'] = '<b>!!</b> ' . $orders['customers_name'];
BELOW ADD: if ($orders['customers_id']==-1) $orders['customers_name'] = '<b>!!+</b> ' . $orders['customers_name'];
UPLOAD orderciddbupdate.php to catalog/includes/
What does this do?
Now, when a customer reachs the Success Page, a database query will be performed to change all customer ID's in
the database that are set to "0" and change them to "-1".
The customer_id 0 is the guest ID, so the customer is classed as a guest throughout the checkout process untill
the end, where at the last page checkout_sucess.php it will update the customer_id to -1, so its no longer a
visible order and since the customer is still a guest (0) they cannot view orders which have a different
customer_id numbers (which in this case is now -1)
The orders can still be viewed in the Admin panel etc, everything is still normal :)
Legend:
!!+ Means the order is from a customer who hasn't registered and has the -1 ID (Hidden ID)
!! Means the order is from a customer who hasn't registered, but for some reason still has the 0 ID (Visible ID)
If a user starts to check out without an account, then logs into their account, and then finishes the order, then the account will be deleted.
The fix is to unregister the noaccount session variable when logging into an account.
This contribution is a modified file of create_account.php with will only be installed if:
- You have downloadable products AND;
there is no need to collect extra information as shipping, etc. *Only Gender, Name, DOB & Email will be collected.
Enjoy!
Erick Cedano aka Graphicore
NOTE: This is only One file. Not a full package.
Just fixed a typo in the English login.php. Everything else is the same as the last update.
Complete package.
If you want to activate the option that customers without account can specify a different shipping address, this one's for you:
Fixed classes/orders.php which caused the lastname of the shipping address to disappear .
Nothing else changed here.
This displays the orders correctly instead of displaying every order starting with !!
with this fix it only shows a !! for the orders without account.
Added support for the Swedish language. Now, if you are using the <a href="http://www.oscommerce.com/community/contributions,1460/category,7/">Swedish language contribution for MS2</a>, the changes will also occur for the swedish language-files.
Fixed two typo's in the english version aswell.
//Timothy
This is a complete package.
Bug fixed in:
catalog/create_account.php line 16
Added:
Hide Order History Box for guests,
catalog/includes/column_right.php
// Peter
Modified install guidelines - to assist.
Apologies - now correctly fixed - wasn't my fault really - it was the guy in the mirror.
Cheers,
Syntax correction in checkout_success.php.
Thanx to Dean (Deano) - for pointing it out.
Update to version released - 30 Mar 2006 - which did not work correctly for me.
Changes to that version can be found in create_account.php and checkout_success.php.
This update adds the correct space between login boxes and PWA box in login.php. And disables PWA box in login if the cart is empty because there is not need to checkout if the cart is empty.
Attached is the create_account.php file to work the Country-State selector and the Matrix Version of PWA.
This is djMonkey's 9.1contribution. I am reposting it because after spending a lot of time trying to use the newer ones (I couldn't get any of them to work.) This installed more easily with clear installation directions, and has clearly marked code changes in the files for people using winmerge. It also worked without a problem after initial install.
I did not write this contribution do not ask me any questions. I just wanted other people to be able to find this file more easily:)
There was a typo in includes/functions/general.php from the oringal install which cause the address not to display durring checkout which RoadDoc from the forum pointed out.
I also updated the original text install file to show this typo and trans lated the german to english.
If anyone finds any errors post it in the forum
Sorry for the mix up the file ClassesOrder.php should have been in the includes/classes and the form_check.js.php should be in the /inludes/ this is correct now and has been tested.
Disregard the last one
Even though the instructions was simple I made it even more simple. This is a complete package. Made simple for new shops. Also is very easy to put with already modified files using winmerge or beyond compare.
The original instructions, sql files, and GNU license are attached. This also has all current fixes.
All credit goes to the original author I just wanted to make really easy for people.
Der Kunde kann einkaufen ohne ein Konto anzulegen. Das heisst, der Kunde hat kein Passwort um sich wieder anzumelden. Es wird kein Eintrag in der Tabelle customers angelegt. Keine Änderungen an den Tabellen für Kunden und Aufträge notwendig.
Neu in 1.1: Bugfixes, separatae Versandandresse, Rückkehr zur Änderung der Kundenangaben (Rechnungsadresse)
The customer can buy without create a account. That is, the customer does not have a password to login. No entries in the tables customer_*. No changes at the tables necessarily for customers and orders.
New in 1.1: bugfixes, separate shipping address, go back to edit customers data (payment address)
Bugfix in 1.1.1 (general.php = "if ($customers_id == 0) {")
Der Kunde kann einkaufen ohne ein Konto anzulegen. Das heisst, der Kunde hat kein Passwort um sich wieder anzumelden. Es wird kein Eintrag in der Tabelle customers angelegt. Keine Änderungen an den Tabellen für Kunden und Aufträge notwendig.
Neu in 1.1: Bugfixes, separatae Versandandresse, Rückkehr zur Änderung der Kundenangaben (Rechnungsadresse)
The customer can buy without create a account. That is, the customer does not have a password to login. No entries in the tables customer_*. No changes at the tables necessarily for customers and orders.
New in 1.1: bugfixes, separate shipping address, go back to edit customers data (payment address)
I found that my installation of the most recent Purchase Without Account onto MS2 was giving a phone number validation error when a guest was preparing to checkout. This fix to create_account.php and includes/form_check.js.php will take care of the phone number problem if you are seeing it on your installation.
Good luck!
Chris Chaudruc - chris.chaudruc@gmail.com 12/21/05
- Es wird kein Eintrag in der Tabelle customers angelegt!
- Keine Änderungen an den Tabellen für Kunden und Aufträge notwendig!
- Diese Version ist nicht kompatibel mit vorherigen Versionen!
+ Änderung zu 1.0.1: kleiner Workaround falls checkout bei confirmation abbricht
- No entry in the table customers will be written!
- No changes on the tables of customers or orders are required!
- This contribution is non compatible with versions before!
+ changes to 1.0.1: small workaround, if checkout ends on confirmation
http://forums.oscommerce.de/index.php?showuser=36
If you get a "Fatal Error: session_register(): Failed to initialize storage module: user (path: /tmp)" follow instructions in attached file on how to fix it.
Also see this thread:
http://forums.oscommerce.com/index.php?showtopic=177964&st=0&gopid=731526
This is a full updated version.
v0.910 (by djmonkey1)
-Thanks to primadude- modified order_info.php so that if the user email already exists as an active non-PWA account in the database then the email error will be returned. Previously it would look for a match of first name, last name, and email address. This fixes a bug that could result in users with accounts not being able to update their account info if their email address was used with an abandoned PWA checkout.
-Included a new line in catalog/includes/languages/english/create_account.php to cover PWA_FAIL_ACCOUNT_EXISTS
-Thanks to primadude- cleaned up various cosmetic issues in catalog/order_info.php and catalog/login.php
-Included expanded instructions for integrating with Brian Burton's PayPal WPP in the extras/wpp/ folder.
Update -- 11-27-2005 (by InnocentlyWiked)
Contains the same version and files v0.910 for combined use of WPP and PWA together as released by djmonkey1 on 11-06-2005. With added tweaks to the extras/wpp/catalog/login.php file to make them work seamlessly together. Make sure to read the instructions to use both contributions together in extraswpp. -- Mindy
Nur ein klitzekleiner Bugfix. Zwei Slashes, die verloren gegangen waren.
Lies bitte die Beschreibung von 1.0
Only a little bugfix. Two slashes are be lost.
Please read the description of version 1.0
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 a full updated version.
v0.910 (by djmonkey1)
-Thanks to primadude- modified order_info.php so that if the user email already exists as an active non-PWA account in the database then the email error will be returned. Previously it would look for a match of first name, last name, and email address. This fixes a bug that could result in users with accounts not being able to update their account info if their email address was used with an abandoned PWA checkout.
-Included a new line in catalog/includes/languages/english/create_account.php to cover PWA_FAIL_ACCOUNT_EXISTS
-Thanks to primadude- cleaned up various cosmetic issues in catalog/order_info.php and catalog/login.php
-Included expanded instructions for integrating with Brian Burton's PayPal WPP in the extras/wpp/ folder.
This is a full updated version. I've tested it very briefly, however it may contain errors. If you have problems please post to the forum:
http://forums.oscommerce.com/index.php?showtopic=40352
v0.90 (by djmonkey1)
-Rolled includes/login_pwa.php and includes/login_acc.php into login.php (format with PWA on is three rows; with PWA off it's original two column display)
-Renamed Order_Info.php to order_info.php
-Rolled Order_Info_Process.php and includes/modules/Order_Info_Check.php into order_info.php (credit for this and a huge thanks to Steve Lionel who did this as part of his contribution Country State Selector)
-Changed the verbage in includes/languages/english/login.php to remove wording which incorrectly stated that customer information not stored in database
-Included a mod to includes/languages/english/create_account.php to change the heading title of order_info.php to "My Billing Information"
-Cleaned up the way links are displayed in the header
-Included a new file pwa_install.sql for easy database mod
-Included line by line instructions for manual edits (big thanks to Mace- I had already done this when I realized that I'd duplicated his work, but his instructions gave me something to check against. Hopefully we got everything!)
-Besides the previous step, tweaked the install instructions
-In the extras/wpp/ folder included a special login.php file formatted for use with PayPal WPP (it does not include instructions on how to integrate both contributions, sorry)
-Included Bug Fix For Error 404 When using Search Engine safe URLs by Nathan Arendt
-Removed reference to and use of 'FILENAME_CHECKOUT'
-Included files modified by Steve Lionel for both PWA and Country State Selector in the extras/country-state-selector/ folder (the only change for version 0.90 being the name of order_info.php)
If there are other bugs since v0.82 they are not addressed in this version.
This is a Original zip added a patch files.
this patch including the languages fix and also the patch below.
People who use patch will find it easier to the system you have modified.
edit
/oscommerce/includes/languages/espanol.php
Wrong error name when you don't select a Gender. In the spanish
it says
Por favor seleccione una opción
around line 166
define('ENTRY_GENDER_ERROR', 'Por favor seleccione una opción.');
Changed to this
define('ENTRY_GENDER_ERROR', 'Por favor seleccione una Sexo/Genero.');
First time with this hope it help someone
I've updated the instructions to show how to install PWA v0.82 to a osCommerce with other contribs installed.
My client needs people shop without login or create an account. Thanks for all your contribution. However, i don't know which version i need to download or download all of them??? Does anybody have a full version with addon? thank you
Well, when I first installed this nice contribution I sort of thought it would completely remove the whole “create account” thing which in my opinion losses you A LOT of customers… so here is my solution to that.
This add-on to PWA will redirect the customer directly to the checkout page completely removing the option of even creating an account and getting computer ill-lit customers completely lost.
Also, no fear with security or the use of any other modules like pay-pal because I set it up so the csosid is carried on with the link.
This is an update for PWA_0.81. I noticed that there was no spanish version for this and when the language was changed there was only an error. This package, when extracted into main directory applies this brillian feature in spanish as well. see lit live and in action at
http://store.lipatol.com/catalog/login.php?language=es
If you have a custom set of buttons in your going to have to change the button, if not you can use the one i made there.
Happy selling :)
If you use the search engine save urls option you will get an error 404 if a customer tries to use PWA but has already registered for an account. The problem appears to be caused by italics tags not being enconded properly.
If you make the chage below it should fix the error.
Open /catalog/includes/languages/english/login.php)
Find
define('PWA_FAIL_ACCOUNT_EXISTS', 'An account already exists for the email address <i>{EMAIL_ADDRESS}</i>. You must login here with the password for that account before proceeding to checkout.');
And change it to (the only diffrence is the italics tags have been removed).
define('PWA_FAIL_ACCOUNT_EXISTS', 'An account already exists for the email address {EMAIL_ADDRESS}. You must login here with the password for that account before proceeding to checkout.');
Bug fixed that could lead to a PHP error in the order confirmation page. Result : delivery address would not be displayed correctly
Changelog of v0.82 (by Didier Debbaut)
- fixed bug in Order_Info_Process.php so that client is directed to shipping page instead of payment page
Didier.
Some minor modifications based on v0.80. Thanks to the OSC forum crowd for having indicated some imperfections (we will not call them bugs...hehe).
Changelog :
v0.81 (by Didier Debbaut)
- fixed some Install_Instructions.txt typo errors + cleanuped really this file
- fixed header.php, account.php, login_pwa.php pages so that the PWA box is only displayed if you have items in your shopping cart and if you are NOT coming from the "my account" link in the header (the PWA customer has no account)
- added comment in checkout_process.php
- added file /catalog/account.php in this package
~~History v0.80 (by Didier Debbaut)
- added file /catalog/includes/header.php
-> "my account" and "logoff" will not be shown for a PWA customer
- added file /catalog/create_account.php
-> store name is now initialized with country of shop
-> "continu" button is shown on the right at bottom of page
- added file /catalog/includes/languages/english.php
- added file /catalog/includes/languages/english/login.php
- added file /catalog/admin/orders.php
- cleanup of Install_Instructions.txt file
- Order_Info_Check.php
-> must only be under "modules". File under "/catalog" deleted from package.
- checkout_success.php
-> no need of NAVBAR_TITLE_2
- login.php
-> no need of the second include of FILENAME_LOGIN
- Order_Info.php
- localisation of NAV_ORDER_INFO
- main table is displayed the same way as in "create_account.php"
- Order_Info_Process.php
- 2 defines are moved to english.php
- no need of NAVBAR_TITLE_2
- add of right navigation
- correction of missing "table" tag
- login_pwa.php
- wrong text labels for returning client box and new client box
- Order_Info_Check.php
- drop of all newsletter related code
Cleaned up the install instructions-they were virtually unreadable. All the other files remain the same
-cleaned up the install instructions a bit and added some bug fixes with regards to Account URL being sent in order update emails.
-Support thread can be found here: http://forums.oscommerce.com/index.php?showtopic=40352&st=0
Thanks tlelliott77, TerryK
fixed login=fail bug when a customer with existing account tries to purchase without an account. fixed bug where address book was not getting updated when customer who purchased without an account returns. Implemented a new method of determining that a customer has purchased without an account. If you are upgrading from a previous version of PWA, this new method is backwards compatible but you must update your database, please read all install notes, specifically Database changes new as of v0.70
This release fixes the incompatibility issue when trying to use this with Simple Template System (STS). Before, you would get a blank page when trying to pay without account.
To upgrade to this version, open Order_Info.php and replace this:
<!-- body_text_eof //-->
</tr>
<!-- body_eof //-->
with this:
<!-- body_text_eof //-->
<td width="<?php echo BOX_WIDTH; ?>" valign="top"><table border="0" width="<?php echo BOX_WIDTH; ?>" cellspacing="0" cellpadding="2">
<!-- right_navigation //-->
<?php require(DIR_WS_INCLUDES . 'column_right.php'); ?>
<!-- right_navigation_eof //-->
</table></td>
</tr>
</table>
<!-- body_eof //-->
This download includes the updated Order_Info.php.
-Graham
minor bug fix where form_check() was not being called properly, causing the form to not get checked for errors within javascript.
Try this a third time. Check to make sure all of the files have an opening "<?php" as for some reason they are being removed upon upload.
Files in previous upload became corrupt somewhere along the line so we will try again!
Zip has all files included for Milestone 2. Contains the various bug fixes, removal of account information from DB, etc..
This file is a replacement for the file Order_Info_Process.php to upgrade it for use with OsCommerce MS2.
This is NOT a full release but a bug fix of that file to get PWA to work with the new version of OsCommerce.
****************************************************************
PWA FACE-LIFT v1.1 PUT BOXES ONTOP OF EACH - ADDON ONLY!! *
This is NOT the FULL INSTALLATION ITS A ADDON ONLY!! *
****************************************************************
Originally Released 22Sep02 by Cheng *
Original Add On Relased 21Jun03 by Lee Nielsen *
Revised 05Jul03 *
PWA FACE-LIFT v1.1 PUT BOXES ONTOP OF EACH OTHER: *
Update by: Brett Anderson *
*
Sceen Shot: *
Available at Forum *
Discussion: *
http://forums.oscommerce.com/viewtopic.php?t=40352 *
Contribution No: 1279 *
http://www.oscommerce.com/community/contributions,355 *
*
See Contribution Listing for Original and Recent Authors *
****************************************************************
PWA FACE-LIFT v1.1
MINOR UPDATES:
Added code to login.php to make use of both the
'login_acc.php and login_pwa.php' files.
When the guest shopping cart is empty the surfer is sent to
'login_acc.php'where they can either sign in or create an account.
When items have been added to the guest cart the surfer is sent to
'login_pwa.php' and given the sign in, create account, and checkout
without account options.
Fixed tab order on 'login_acc.php' and 'login_pwa'.
Original version tab order was email textbox, sign in button,
forgot pwd,and then password textbox.
Now tabs email textbox, password textbox, sign in, and then
forgot password.
Simply replace your old files with the 3 files included:
---------------------------------------------------------------
catalog/login.php
catalog/includes/login_acc.php
catalog/includes/login_pwa.php
---------------------------------------------------------------
Make a back up first incase of incompatability, thats it...
****************************************************************
PWA FACE-LIFT PUT BOXES ONTOP OF EACH - ADDON ONLY!! *
This is NOT the FULL INSTALLATION ITS A ADDON ONLY!! *
****************************************************************
Originally Released 22Sep02 by Cheng *
Revised 21Jun03 *
PWA FACE-LIFT PUT BOXES ONTOP OF EACH OTHER: *
addon by: Lee Nieslen AKA: MaxiDVD *
email: admin@maxidvd.com.au *
*
Sceen Shot: *
Available at Forum and Included in Download *
Discussion: *
http://forums.oscommerce.com/viewtopic.php?t=40352 *
Contribution No: 1279 *
http://www.oscommerce.com/community/contributions,355 *
*
See Contribution Listing for Original and Recent Authors *
****************************************************************
PWA FACE-LIFT PUT BOXES ONTOP OF EACH OTHER AS OPPOSSED TO BESIDE EACH OTHER:
=====================================================================
Simply replace your old files with the 3 files I have included:
---------------------------------------------------------------
catalog/login.php
catalog/includes/login_acc.php
catalog/includes/login_pwa.php
---------------------------------------------------------------
Make a back up first incase of incompatability, thats it...
IF YOU STILL HAVE JAVASCRIPT RUNTIME ERRORS EVEN AFTER THE OTHER FIX:
=====================================================================
error is due to the non-existent password field validation -fix:
Add the new file form_check_PWA.js.php into catalog/includes/
-------------------------------------------------------------
catalog/includes/form_check_PWA.js.php
And open /catalog/Order_Info.php and replace line 26
------------------------------------------------------
<?php require('includes/form_check.js.php'); ?>
with this:
<?php require('includes/form_check_PWA.js.php'); ?>
-------------------------------------------------------
Its basically a duplicate of the osCommerce form_check.js.php, minus the password validation code..
no offence to the others who has runtime error fixes below the contribution-addon but they didnt work for me,
anyway this worked for me....
Fix for error:
"Fatal error: Call to undefined function: tep_validate_password() in /home/doggie/public_html/store/login.php on line 26"
People have reported javascript runtime errors, i have included a fix for this.
last file uploaded was incomplete
this fixes that.
apologies
Minor functionality update automatically kills the session when the continue button in checkout_success only if the customer has chosed the purchase without account option.
credit to tim pope for this addition.
This is an update to the purchase without an account add on. This update adds functionality to toggle this feature on/off via the admin panel.
thread is here
http://forums.oscommerce.com/viewtopic.php?t=40352&start=0&postdays=0&postorder=asc&highlight=
Fixed login.php
Fixed to work with osCommerce 2.2MS1 (change of validate_password to tep_validate_password)
Further Edits to Chen's original Mod that will allow your customers 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
Due to the fact that I have added some front end asthetics as well as some usability it seemed logical to release it as v0.55. There is a working version if you'd like to see it at: http://www.coolercoolers.com (BEWARE this is a live shopping cart, you will be billed if you confirm your order).
Fix to Previous version I uploaded, includes modified login.php file. New mod on Cheng's Purchase Without Account, works with newer snapshots of OSC2.2 only. This will allow your customers three options at checkout time: 1)Proceed Directly to Checkout, 2)Create a New Account, 3)Login (for returning customers). It is completely turnkey, just be sure to checkout the ReadMe that is included VERY IMPORTANT.
New mod on Cheng's Purchase Without Account, works with newer snapshots of OSC2.2 only. This will allow your customers three options at checkout time: 1)Proceed Directly to Checkout, 2)Create a New Account, 3)Login (for returning customers). It is completely turnkey, just be sure to checkout the ReadMe that is included VERY IMPORTANT.
used ZIP format for the package file instead
and fixed a minor error in the Order_Info_Processs.php
$password = tep_db_prepare_input(')
instead of $password='
cleared up the error in the installation instructions too. ;-)
Modification of create_account.php files and related
See README for better description
