Re: My Checkout Without Account Mod
Quote:
Originally Posted by
mleahy
Hi,
I have been using COWOA since December and just now noticed that the MyAccount and Logoff links are not showing in the header, even when you have logged in as a registered user. I don't think this is the way it is supposed to behave...
That is how it is supposed to behave. A person who is using COWOA doesn't want to have a normal account and therefore would not need to have a "My Account" or "Logoff" link.
*Edit.... just saw the part about "even when you have logged in as a registered user"...OOPS!
Re: My Checkout Without Account Mod
Quote:
Originally Posted by
mleahy
Hi,
I have been using COWOA since December and just now noticed that the MyAccount and Logoff links are not showing in the header, even when you have logged in as a registered user. I don't think this is the way it is supposed to behave. Following is the Navigation section of my tpl_header.php file where I added the COWOA mod as recommended in the install.txt file. Any suggestions? I have even tried turning COWOA off in Admin and testing it and it still doesn't show the Logoff or MyAccount link when I am logged in:
<!-- ========== NAVIGATION LINKS ========== -->
<a href="<?php echo HTTP_SERVER . DIR_WS_CATALOG ?>"><?php echo HEADER_TITLE_CATALOG; ?></a>
<!-- mleahy- modified following line for COWOA installation. -->
<?php if (($_SESSION['customer_id']) && (!$_SESSION['COWOA']=='True')) { ?>
| <a href="<?php echo zen_href_link(FILENAME_LOGOFF, '', 'SSL'); ?>"><?php echo HEADER_TITLE_LOGOFF; ?></a>
| <a href="<?php echo zen_href_link(FILENAME_ACCOUNT, '', 'SSL'); ?>"><?php echo HEADER_TITLE_MY_ACCOUNT; ?></a>
I could be wrong, but I'm not sure that a href="<?php echo zen_href_link(FILENAME_ACCOUNT, '', 'SSL'); ?>"> is the correct way to do it. Is it supposed to be contained within the a href part?? When I look at mine, it's like this:
<?php if (!($_SESSION['COWOA'])) { ?><?php if ($_SESSION['customer_id']) { ?><a href="<?php echo zen_href_link(FILENAME_ACCOUNT, '', 'SSL'); ?>"><?php echo zen_customer_store_account(); ?></a><?php } ?><?php } ?>
You see what I'm saying?? The code is put entirely before you get to the a href part.
My logoff looks like:
<?php if (!($_SESSION['COWOA'])) { ?><?php if ($_SESSION['customer_id']) { ?> <li><a href="<?php echo zen_href_link(FILENAME_LOGOFF, '', 'SSL'); ?>">Logout</a></li><?php } ?><?php } ?>
Re: My Checkout Without Account Mod
Eek! I'm just going to shut up now because obviously this isn't my night. I want to help you, but my brain is just not working at the moment. Maybe its time for bed? I wish you could delete posts! I see now that your links are like mine and I was seeing something different. I'm sorry.... I tried!!!!! :smile:
Re: My Checkout Without Account Mod
Quote:
Originally Posted by
craftzombie
Eek! I'm just going to shut up now because obviously this isn't my night. I want to help you, but my brain is just not working at the moment. Maybe its time for bed? I wish you could delete posts! I see now that your links are like mine and I was seeing something different. I'm sorry.... I tried!!!!! :smile:
Thanks for trying! :smile:
If you notice anything else that might be causing it I would love to hear about it.
So does yours behave correctly? When someone logs in do they have the Logoff and MyAccount links at the top?
Here is the store I am working on if you want to see what I mean:
www.naughticorner.com
Thanks!
Michelle 8-)
Re: My Checkout Without Account Mod
Quote:
Originally Posted by
mleahy
Thanks for trying! :smile:
If you notice anything else that might be causing it I would love to hear about it.
So does yours behave correctly? When someone logs in do they have the Logoff and MyAccount links at the top?
Here is the store I am working on if you want to see what I mean:
www.naughticorner.com
Thanks!
Michelle 8-)
Lol... naughty!!! Yes, mine works great. I even changed mine so that instead of it saying "My Account", it says the customers name... "Michelle's Account". I did notice your code looks a tiny bit different:
Yours: <?php if (($_SESSION['customer_id']) && (!$_SESSION['COWOA']=='True')) { ?>
Mine: <?php if (!($_SESSION['COWOA'])) { ?><?php if ($_SESSION['customer_id']) { ?>
Different parentheses and such....
Re: My Checkout Without Account Mod
Quote:
Originally Posted by
craftzombie
Lol... naughty!!! Yes, mine works great. I even changed mine so that instead of it saying "My Account", it says the customers name... "Michelle's Account". I did notice your code looks a tiny bit different:
Yours: <?php if (($_SESSION['customer_id']) && (!$_SESSION['COWOA']=='True')) { ?>
Mine: <?php if (!($_SESSION['COWOA'])) { ?><?php if ($_SESSION['customer_id']) { ?>
Different parentheses and such....
It's a site for my client :blush:.
Thanks for the information on how yours is written. I will play around with it and see if it makes a difference.
Take care!
Michelle 8-)
Re: My Checkout Without Account Mod
hi i am using zen cart version 1.3.9 ,i have installed cowoa_2-0c1, after installing cowoa ,my site has gone blank .that is the site is not opening please help.site url www.eshopie.com:oops:
Re: My Checkout Without Account Mod
i tried uninstalling using uninstall sql it says: 1054 Unknown column 'query_builder.query_name' in 'where clause'
in:
[DELETE FROM zen_query_builder WHERE query_builder.query_name = 'Permanent Account Holders Only' LIMIT 1;]
If you were entering information, press the BACK button in your browser and re-check the information you had entered to be sure you left no blank fields.:clap:
Re: My Checkout Without Account Mod
well Friends i have restored the site using the backup,thanks
Re: My Checkout Without Account Mod
In my header there's a welcome message that says the customers name when logged in but shows input boxes if not logged in. When ever I use COWOA to checkout it shows the customers name in the header as if they're logged in. They can even go to the "My Account" page and it continues to show even after the sale is finished. How can I fix this?