Re: My Checkout Without Account Mod
Um, er. I put in what I thought was the correct mod and my entire site has gone blank. Here's the modified statement (formatted for easier read):
<?php if (!($_SESSION['COWOA'])) { ?>
<?php if ($_SESSION['customer_id']) { ?>
<li><a href="<?php echo zen_href_link(FILENAME_LOGOFF, '', 'SSL'); ?>">
<?php echo HEADER_TITLE_LOGOFF; ?></a>
<?php } ?>
<?php } ?>
I wish the stupid scroll tags worked. In my HTML editor it looked like everything was closed properly. Suggestions??
when I went step 3 of 5, the following error appeared.
Warning: Cannot modify header information - headers already sent by (output started at /home/tobabyvo/public_html/includes/languages/english/checkout_shipping.php:84) in /home/tobabyvo/public_html/includes/functions/functions_general.php on line 44
what's the problem?
Re: My Checkout Without Account Mod
I restored the old checkout_shipping.php and everything is ok now. but why?
Re: My Checkout Without Account Mod
Quote:
Originally Posted by
xiongzhi555
I restored the old checkout_shipping.php and everything is ok now. but why?
it could be a number of things. maybe the file didn't transfer properly. maybe you have other mods that are conflicting.
Re: My Checkout Without Account Mod
Quote:
Originally Posted by
hedera
Um, er. I put in what I thought was the correct mod and my entire site has gone blank. Here's the modified statement (formatted for easier read):
<?php if (!($_SESSION['COWOA'])) { ?>
<?php if ($_SESSION['customer_id']) { ?>
<li><a href="<?php echo zen_href_link(FILENAME_LOGOFF, '', 'SSL'); ?>">
<?php echo HEADER_TITLE_LOGOFF; ?></a>
<?php } ?>
<?php } ?>
I wish the stupid scroll tags worked. In my HTML editor it looked like everything was closed properly. Suggestions??
I'm not sure. I never tried it with the Logoff link. I don't think it would make your page go blank. The only time that happens to me is when its something dumb like too many spaces or an extra closing tag, etc. Remove it from the logoff link and try it on the My Account link just to see what happens. I am no php expert, so please forgive me. Much of this was learned when I was playing.
Re: My Checkout Without Account Mod
Hmm. Too many spaces?? I didn't think spaces mattered but you learn something every day. I'll play with it and see. But one thing: it didn't just make the page go blank. It made THE ENTIRE SITE go blank; so it was something it really didn't like...
Re: My Checkout Without Account Mod
Hello there, i'm totally noob
Wiki says
"When a visitor adds something to their cart and proceeds to checkout, they are greeted with three options. They can sign in to their existing account, they can create a new account, or they can proceed through checkout without an account."
Its possible to skip this screen an go directly to checkout without an account? I dont want to use the account system for now...
Re: My Checkout Without Account Mod
Hi. Check posts 541 and 542.
Re: My Checkout Without Account Mod
Hello Steven, thanks for the reply. I think is working. Now I just have to remove the links for register, login etc.
Re: My Checkout Without Account Mod
My attempts to remove the "Log In" header display for sessions using COWOA have so far failed. I can't get ANYTHING with that NOT statement in it to work, and the result is always that the entire site comes up blank, including the home page. I originally tried to apply craftzombie's putting the entire IF statement (as she did for "My Account") in a larger "IF NOT COWOA" statement. I then tried making adding an AND NOT to the IF statement:
<?php if ($_SESSION['customer_id']) && (!($_SESSION['COWOA'])) { ?>
Didn't work. Then I tried with the NOT COWOA statement leading the AND, also a failure. Does anyone have any brilliant ideas? I'll keep trying, but so far I'm rolling snake eyes.