Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Having Issue with my account link


surrfman

Recommended Posts

Posted

have pay without account working on my 2.3.1 store. after doin the mod. lost the "my account" link in the bread crumb bar. any ideas on how to repair?

 

 

Timmy C

Posted

Timmy,

 

 

Check your installation, you must have altered code incorrectly.

 

 

 

 

Chris

Posted

here is the code from header.php after adding PWA

 

 

 

<?php

echo '<a class="headershortcutlink" href="' . tep_href_link(FILENAME_SHOPPING_CART) . '"alt="" >'.($cart->count_contents() > 0 ? ' (' . $cart->count_contents() . ')' : '') . HEADER_TITLE_CART_CONTENTS . '</a> | ' .

'<a class="headershortcutlink" href="' . tep_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL') . '" alt="">' . HEADER_TITLE_CHECKOUT . '</a> | ';

//<!-- PWA BOF -->

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

echo '<a class="headershortcutlink" href="' . tep_href_link(FILENAME_ACCOUNT, '', 'SSL') . '"alt="">' . HEADER_TITLE_MY_ACCOUNT . '</a> | ' ;

}

if (tep_session_is_registered('customer_id')) {

echo '<a class="headershortcutlink" href="' . tep_href_link(FILENAME_LOGOFF, '', 'SSL') . '"alt="" >' . HEADER_TITLE_LOGOFF . '</a> ' ;

}

//<!-- PWA EOF -->

?>

</div>

</div>

</div>

 

Prior to the changes the code looked like this:

 

 

<?php

echo '<a class="headershortcutlink" href="' . tep_href_link(FILENAME_SHOPPING_CART) . '"alt="" >'.($cart->count_contents() > 0 ? ' (' . $cart->count_contents() . ')' : '') . HEADER_TITLE_CART_CONTENTS . '</a> | ' .

'<a class="headershortcutlink" href="' . tep_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL') . '" alt="">' . HEADER_TITLE_CHECKOUT . '</a> | ' .

'<a class="headershortcutlink" href="' . tep_href_link(FILENAME_ACCOUNT, '', 'SSL') . '"alt="">' . HEADER_TITLE_MY_ACCOUNT . '</a>' ;

 

if (tep_session_is_registered('customer_id')) {echo '<a class="headershortcutlink" href="' . tep_href_link(FILENAME_LOGOFF, '', 'SSL') . '"alt="" >' . HEADER_TITLE_LOGOFF . '</a> ' ;

}

?>

</div>

</div>

</div>

 

 

<?php

 

I had a local "expert" do the changes for money. he now claims more cash to replace the my account link. I tried adding the third class line to the expert changed file, no luck. any Ideas?

 

Thanks,

 

Timmy C

Archived

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

×
×
  • Create New...