Results 1 to 7 of 7
  1. #1
    Join Date
    Oct 2007
    Posts
    51
    Plugin Contributions
    0

    Default Remove "Log in" and "Checkout"? Screenshot attached...

    Hi,

    I use just Google checkout and so logging in and checking out are just two confusing pages for my customers. I only need the "shopping cart" link. :)

    How can I remove the "Log In" and "Checkout" links from the Very Top Navigation bar?

    Link here
    http://www.nicecarvings.com/cart/

    See Screen shot attached...
    Attached Images Attached Images  
    My zen cart is being rebuilt!! www.nicecarvings.com
    The Quantity Discount Mod is working great!
    www.thatsoftwareguy.com/zencart

  2. #2
    Join Date
    Sep 2007
    Posts
    219
    Plugin Contributions
    0

    Default Re: Remove "Log in" and "Checkout"? Screenshot attached...

    Hi,

    You are looking for the following code in catalog\includes\templates\yourtemplate\common\tpl_header.php

    PHP Code:
    <div id="navMain">
        <ul class="back">
        <li><?php echo '<a href="' HTTP_SERVER DIR_WS_CATALOG '">'?><?php echo HEADER_TITLE_CATALOG?></a></li>
    <?php if ($_SESSION['customer_id']) { ?>
        <li><a href="<?php echo zen_href_link(FILENAME_LOGOFF'''SSL'); ?>"><?php echo HEADER_TITLE_LOGOFF?></a></li>
        <li><a href="<?php echo zen_href_link(FILENAME_ACCOUNT'''SSL'); ?>"><?php echo HEADER_TITLE_MY_ACCOUNT?></a></li>
    <?php
          
    } else {
            if (
    STORE_STATUS == '0') {
    ?>
        <li><a href="<?php echo zen_href_link(FILENAME_LOGIN'''SSL'); ?>"><?php echo HEADER_TITLE_LOGIN?></a></li>
    <?php } } ?>

    <?php if ($_SESSION['cart']->count_contents() != 0) { ?>
        <li><a href="<?php echo zen_href_link(FILENAME_SHOPPING_CART'''NONSSL'); ?>"><?php echo HEADER_TITLE_CART_CONTENTS?></a></li>
        <li><a href="<?php echo zen_href_link(FILENAME_CHECKOUT_SHIPPING'''SSL'); ?>"><?php echo HEADER_TITLE_CHECKOUT?></a></li>
    <?php }?>
    </ul>
    </div>
    If you only need to have a Home & static Cart link you could use something like:
    PHP Code:
    <div id="navMain">
        <ul class="back">
        <li><?php echo '<a href="' HTTP_SERVER DIR_WS_CATALOG '">'?><?php echo HEADER_TITLE_CATALOG?></a></li>
        <li><a href="<?php echo zen_href_link(FILENAME_SHOPPING_CART'''NONSSL'); ?>"><?php echo HEADER_TITLE_CART_CONTENTS?></a></li>
    </ul>
    </div>
    If you only wanted the cart to show when it has something in it, you could use something like
    PHP Code:
    <div id="navMain">
        <ul class="back">
        <li><?php echo '<a href="' HTTP_SERVER DIR_WS_CATALOG '">'?><?php echo HEADER_TITLE_CATALOG?></a></li>
    <?php if ($_SESSION['cart']->count_contents() != 0) { ?>
        <li><a href="<?php echo zen_href_link(FILENAME_SHOPPING_CART'''NONSSL'); ?>"><?php echo HEADER_TITLE_CART_CONTENTS?></a></li>
    <?php }?>
    </ul>
    </div>

  3. #3
    Join Date
    Oct 2007
    Posts
    51
    Plugin Contributions
    0

    Default Re: Remove "Log in" and "Checkout"? Screenshot attached...

    Perfect solution as usual Rufus!



    I'll start putting Rufus in the title of the thread and you can find it easier!



    My zen cart is being rebuilt!! www.nicecarvings.com
    The Quantity Discount Mod is working great!
    www.thatsoftwareguy.com/zencart

  4. #4
    Join Date
    Oct 2007
    Posts
    51
    Plugin Contributions
    0

    Default Re: Remove "Log in" and "Checkout"? Screenshot attached...

    Oh dang! Now I have customers asking how to log in.




    The log in feature seemed a little redundant when using Google Checkout as the sole pay processor. So I basically removed the log in feature and now it seems a tad barren without it. I also now have customers asking how to log in...(probably wanting to look at order status etc)....There is currently no way really for them to

    A. Log In
    B. Register

    They can buy though, which is good and I love the simplicity of Google Checkout. From the cart it is 1 click and the customer is just a few short keystrokes from being done with the order. However now I have them wanting to "Log in".

    Question for the pros:
    A. Do I just keep it the way it is? Simplistic and operational, but limited in interactive options for the user? or.....
    B. Do I implement a 'normal' merchant account and let the zencart run the way it is meant to be run? ...& Possibly do away with Google Checkout to avoid checkout confusion.

    I'm kinda leaning toward the latter, B. because I'm also a bit limited by not being able to currently have wholesale customer group pricing (a feature I wanted to implement). So I pretty much just answered my own question...but I will post this ramble anyway, in case there is a slight chance it could help someone in else make a similar decision.

    Last edited by nicecarvings; 19 Nov 2007 at 03:09 PM.
    My zen cart is being rebuilt!! www.nicecarvings.com
    The Quantity Discount Mod is working great!
    www.thatsoftwareguy.com/zencart

  5. #5
    Join Date
    Mar 2004
    Posts
    16,042
    Plugin Contributions
    5

    Default Re: Remove "Log in" and "Checkout"? Screenshot attached...

    B. Do I implement a 'normal' merchant account and let the zencart run the way it is meant to be run? ...& Possibly do away with Google Checkout to avoid checkout confusion.


    best way to do the wholesale is a total dupe of the site in a subfolder

    wholesale.nicecarvings.com

    you can use the same merchant account for both,
    and the wholesale site dosnt have to be extravagent at all,
    bare bones and basic
    Zen cart PCI compliant Hosting

  6. #6
    Join Date
    Oct 2007
    Posts
    51
    Plugin Contributions
    0

    Default Re: Remove "Log in" and "Checkout"? Screenshot attached...

    Thanks for the tips guys! I been too busy to even reply.


    Ok, turns out that Google Checkout gives the buyer a registration & password to the zencart??!!

    If so this is pretty cool and I would probably add the login link back...
    My zen cart is being rebuilt!! www.nicecarvings.com
    The Quantity Discount Mod is working great!
    www.thatsoftwareguy.com/zencart

  7. #7
    Join Date
    Oct 2007
    Posts
    51
    Plugin Contributions
    0

    Default Re: Remove "Log in" and "Checkout"? Screenshot attached...

    Quote Originally Posted by Merlinpa1969 View Post
    B. Do I implement a 'normal' merchant account and let the zencart run the way it is meant to be run? ...& Possibly do away with Google Checkout to avoid checkout confusion.


    best way to do the wholesale is a total dupe of the site in a subfolder

    wholesale.nicecarvings.com

    you can use the same merchant account for both,
    and the wholesale site dosnt have to be extravagent at all,
    bare bones and basic
    Merlin-

    How exactly do I do a duplicate cart ? I understand that I just need to put a copy of the cart in a slightly different directory like you mentioned, but what about the sql database? Would I need another one? What about the zencart install part? Maybe I don't need to install again because thats all done as I would just be copying the entire "cart" directory, pasting it into another directory with a different name?

    Thanks!
    My zen cart is being rebuilt!! www.nicecarvings.com
    The Quantity Discount Mod is working great!
    www.thatsoftwareguy.com/zencart

 

 

Similar Threads

  1. How to remove "contact us", "My account" , and "view cart"?
    By thestampnomad in forum Basic Configuration
    Replies: 2
    Last Post: 13 Aug 2010, 07:55 PM
  2. How to remove ellipses ("...") after "All Products" and "New Products" on home page?
    By jthurman in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 18 May 2010, 03:30 PM
  3. Remove "Home & "Log In"? Screenshot attached...
    By Tom_Ace in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 30 Jan 2009, 06:33 AM
  4. Remove "Product Image" "Item Name" and "Price"...
    By rebekah in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 22 Sep 2008, 06:08 PM
  5. Replies: 3
    Last Post: 3 Jun 2008, 11:41 AM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR