Results 1 to 10 of 1222

Hybrid View

  1. #1
    Join Date
    Nov 2010
    Posts
    27
    Plugin Contributions
    0

    Default Re: My Checkout Without Account Mod

    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')) { ?>
    &nbsp; | &nbsp; <a href="<?php echo zen_href_link(FILENAME_LOGOFF, '', 'SSL'); ?>"><?php echo HEADER_TITLE_LOGOFF; ?></a>
    &nbsp; | &nbsp; <a href="<?php echo zen_href_link(FILENAME_ACCOUNT, '', 'SSL'); ?>"><?php echo HEADER_TITLE_MY_ACCOUNT; ?></a>
    <?php
    } else {
    if (STORE_STATUS == '0') {
    ?>
    &nbsp; | &nbsp; <a href="<?php echo zen_href_link(FILENAME_LOGIN, '', 'SSL'); ?>"><?php echo HEADER_TITLE_LOGIN; ?></a>
    <?php } } ?>

    <?php if ($_SESSION['cart']->count_contents() != 0) { ?>
    &nbsp; | &nbsp; <a href="<?php echo zen_href_link(FILENAME_SHOPPING_CART, '', 'NONSSL'); ?>"><?php echo HEADER_TITLE_CART_CONTENTS; ?></a>
    &nbsp; | &nbsp; <a href="<?php echo zen_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL'); ?>"><?php echo HEADER_TITLE_CHECKOUT; ?></a>
    <?php } ?>
    <!-- ====================================== -->

  2. #2
    Join Date
    Jul 2006
    Posts
    496
    Plugin Contributions
    0

    Default Re: My Checkout Without Account Mod

    Quote Originally Posted by mleahy View Post
    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!

  3. #3
    Join Date
    Jul 2006
    Posts
    496
    Plugin Contributions
    0

    Default Re: My Checkout Without Account Mod

    Quote Originally Posted by mleahy View Post
    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')) { ?>
    &nbsp; | &nbsp; <a href="<?php echo zen_href_link(FILENAME_LOGOFF, '', 'SSL'); ?>"><?php echo HEADER_TITLE_LOGOFF; ?></a>
    &nbsp; | &nbsp; <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 } ?>

  4. #4
    Join Date
    Jul 2006
    Posts
    496
    Plugin Contributions
    0

    Default 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!!!!!

  5. #5
    Join Date
    Nov 2010
    Posts
    27
    Plugin Contributions
    0

    Default Re: My Checkout Without Account Mod

    Quote Originally Posted by craftzombie View Post
    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!!!!!
    Thanks for trying!

    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-)

  6. #6
    Join Date
    Jul 2006
    Posts
    496
    Plugin Contributions
    0

    Default Re: My Checkout Without Account Mod

    Quote Originally Posted by mleahy View Post
    Thanks for trying!

    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....

  7. #7
    Join Date
    Nov 2010
    Posts
    27
    Plugin Contributions
    0

    Default Re: My Checkout Without Account Mod

    Quote Originally Posted by craftzombie View Post
    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 .

    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-)

  8. #8
    Join Date
    May 2011
    Location
    DELHI,INDIA
    Posts
    43
    Plugin Contributions
    1

    Default 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

 

 

Similar Threads

  1. Checkout without account problem
    By weblasomnath in forum Addon Templates
    Replies: 0
    Last Post: 23 Nov 2010, 02:56 PM
  2. Checkout without account
    By GDOrn in forum All Other Contributions/Addons
    Replies: 194
    Last Post: 14 Sep 2010, 08:05 PM
  3. Fast and Easy Checkout - Checkout Without Account not showing
    By Lee-oh in forum All Other Contributions/Addons
    Replies: 6
    Last Post: 3 Feb 2010, 05:09 PM
  4. question about the checkout without account mod
    By hxkknba in forum Addon Payment Modules
    Replies: 1
    Last Post: 12 Oct 2009, 05:48 PM
  5. Changing checkout flow with Checkout Without Account (COWOA)?
    By pe7er in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 7 Feb 2008, 06:09 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg