Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

PWA 2.14 and the My Account Button / Link


charly76

Recommended Posts

Hello,

 

i install today the PWA 2.14. It works fine. But i Missing the "My Account" at the Top, i think it is in header.php. The registers Users must go over the Checkout Link / Button to login.

 

It is possible to turn the My Account Link on?

 

Sorry for my bad english ;)

 

Greetings

Christian

Link to comment
Share on other sites

  • 1 month later...
Hello,

 

i install today the PWA 2.14. It works fine. But i Missing the "My Account" at the Top, i think it is in header.php. The registers Users must go over the Checkout Link / Button to login.

 

It is possible to turn the My Account Link on?

 

Sorry for my bad english ;)

 

Greetings

Christian

 

Hi Christian,

 

Yes, just disable or delete the php code inserted into header.php about line 68 or so (see the double slashes // below):

 

<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 } ?>

<?php //if (tep_session_is_registered('customer_id') && (!isset($HTTP_GET_VARS['guest']) && !isset($HTTP_POST_VARS['guest'])) && !$order->customer['is_dummy_account']) { ?>

<a href="<?php echo tep_href_link(FILENAME_ACCOUNT, '', 'SSL'); ?>" class="headerNavigation"><?php echo HEADER_TITLE_MY_ACCOUNT; ?></a>  | 

<?php // } ?>

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

</tr>

</table>

 

Mike

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...