Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

How do I display 'my account'


ryana2

Recommended Posts

HI All

Was wondering if anyone could help me with this one.

On the top of the page, under where you'd have your header, normally 'my account', etc shows.

I removed this some time ago, and I need to get it back!

The reason for this is that when you log in, you can't log out! (i'm assuming this should also be here, but i must have removed this too!)

 

Can anyone help me?

Or even if i were to add a box to the right column, with just the following:

My Account

My Basket

Checkout...

 

Could anyone tell me how this is done? I'm able to create the box ok, but would need help adding those links into it.

 

But really my main concern is when someone logs in, you need to be able to log out! And at the moment, there's no place on my site to do this!

 

 

Thanks !!!!

 

Any help, is as always, greatly appreciated!

 

A

 

:D

Link to comment
Share on other sites

HI All

Was wondering if anyone could help me with this one.

On the top of the page, under where you'd have your header, normally 'my account', etc shows.

I removed this some time ago, and I need to get it back!

 

It's in your includes/header.php file.

 

Look for something like this in about line 61 to 64 :

<table border="0" width="100%" cellspacing="0" cellpadding="1">

<tr class="headerNavigation">

<td class="headerNavigation">  <?php echo $breadcrumb->trail(' » '); ?></td>

<td align="right" class="headerNavigation"><?php if (tep_session_is_registered('customer_id')) { ?><a href="<?php echo tep_href_link(FILENAME_LOGOFF, '', 'SSL'); ?>" class="headerNavigation"><?php echo HEADER_TITLE_LOGOFF; ?></a>  |  <?php } ?><a href="<?php echo tep_href_link(FILENAME_ACCOUNT, '', 'SSL'); ?>" class="headerNavigation"><?php echo HEADER_TITLE_MY_ACCOUNT; ?></a>  |  <a href="<?php echo tep_href_link(FILENAME_SHOPPING_CART); ?>" class="headerNavigation"><?php echo HEADER_TITLE_CART_CONTENTS; ?></a>  |  <a href="<?php echo tep_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL'); ?>" class="headerNavigation"><?php echo HEADER_TITLE_CHECKOUT; ?></a>   </td>

 

Corrie

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...