Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Pay Without Account


surrfman

Recommended Posts

Guys... Had converted 2.2 contribution to working status with just one issue. The conversion found the "My Account" link missing from breadcrumb. Store could operate with missing link. Problem is, customer has no way to access account without going through the checkout process, any idea on how to fix this?

Below ia the code from header php; I believe that is where I need to make the change.

 

<div class="grid_24 ui-widget infoBoxContainer">

 

<div class="ui-widget-header infoBoxHeading"><?php echo '  ' . $breadcrumb->trail(' » '); ?>

<div style="width:36%;float:right;text-align:right;padding-right:10px;">

 

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

 

Thanks guys!

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...