Forums / Templates, Stylesheets, Page Layout / Remove "Log in" and "Checkout"? Screenshot attached...

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

Locked

Views: 2,368

Results 1 to 7 of 7
This thread is locked. New replies are disabled.
11 Nov 2007, 1:10 AM
#1
nicecarvings avatar

nicecarvings

New Zenner

Join Date:
Oct 2007
Posts:
51
Plugin Contributions:
0

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

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

11 Nov 2007, 1:18 PM
#2
rufus avatar

rufus

Zen Follower

Join Date:
Sep 2007
Posts:
214
Plugin Contributions:
0

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

Hi,

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

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

<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

<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>
12 Nov 2007, 5:26 AM
#3
nicecarvings avatar

nicecarvings

New Zenner

Join Date:
Oct 2007
Posts:
51
Plugin Contributions:
0

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

Perfect solution as usual Rufus! :yes:

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

:cheers:

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

19 Nov 2007, 2:06 PM
#4
nicecarvings avatar

nicecarvings

New Zenner

Join Date:
Oct 2007
Posts:
51
Plugin Contributions:
0

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

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

:oops: :lamo:

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.

:smile:

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

19 Nov 2007, 2:59 PM
#5
merlinpa1969 avatar

merlinpa1969

Totally Zenned

Join Date:
Mar 2004
Posts:
13,031
Plugin Contributions:
4

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

25 Nov 2007, 5:21 AM
#6
nicecarvings avatar

nicecarvings

New Zenner

Join Date:
Oct 2007
Posts:
51
Plugin Contributions:
0

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

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

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

2 Dec 2008, 8:41 PM
#7
nicecarvings avatar

nicecarvings

New Zenner

Join Date:
Oct 2007
Posts:
51
Plugin Contributions:
0

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

Merlinpa1969:

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