Hi,
I noticed that if a user is logged into the zen-cart store, and somehow they end up visiting the Login page, it redirects them automatically to the My Account page.
This however does not happen when the user visits the Create Account page, shouldn't this code also exist in the create_account/header_php.php file:
// if the customer is logged in already, redirect them to the My account page
if (isset($_SESSION['customer_id']) and $_SESSION['customer_id'] != '') {
zen_redirect(zen_href_link(FILENAME_ACCOUNT, '', 'SSL'));
}
?
I think it would make sense.
Bookmarks