This mod seems to work but I can't get it integrated so it comes up on checkout. if I access the url of the mod it works. The instruction in the readme that has me stumped is:
"call 'Order_Info.php' from your login.php somewhere."
How do I do that? :D
Thanks,
Tom
PS, The readme for this mod is below.
Purchase Without Account v0.52
by Cheng
place the files into directories as appropriate
/catalog/Order_Info_Check.php
/catalog/Order_Info.php
/catalog/includes/modules/Order_Info_Process.php
if you rename the files, you will have to go into each
file and rename the corresponding call to it.
call 'Order_Info.php' from your login.php somewhere.
That should start the process of having the user create an
account. The 'breadcrumb' trail should reflect it as order processing
and not account creation. might have missed something but
not much time to check at this point.
some people might want to modify their 'header' not to show a 'logoff'.
in which case, 'Order_Info_Process.php' registers the following below 'noaccount'.
And, a 'if' statement actually checks in my 'header.php' for it. Otherwise,
it just doesn't print the TEXT link. Although the actual HTTP link is
there. ;-)
--
<?php
if (!tep_session_is_registered('noaccount')) {
echo HEADER_TITLE_LOGOFF;
}
?>
--
in 'Order_Info_Process.php', there is a $password that is set to
'' (empty) right now. Because, customer accounts are created with no
password. For security purposes (so no one can just guess a blank password),
you might want to set that $password to something else ...
the system will not create another duplicate account if
first/last name and e-mail address match up (that is also if the password
is either blank or what you set it to). in which case, if those first
3 match up, it will call up the information from the customer database (so
it actually doesn't matter what other informaton (state, zip, etc) that they
fill out after those 3 match up).
in case you're wondering ... i couldn't get the older version
of mark's 'purchase without account' working with the newer cvs. thus,
spent a few hours today on this.
* please don't e-mail asking for help. just post a message on the
osc forums and perhaps someone or myself will see it. and, questions/answers
posted publicly help more than one person.