Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Installed Purchase Without Account , can not see account detail


abks

Recommended Posts

I have installed Purchase Without Account, There is only one problem, when registered customers log in and click My Account, it did not display the Account page to edit, but display shopping cart page. What can be the cause of the problem?

 

Also for guest, it does not display My Account on the bar, is it supposed to be like that or not?

 

Thanks,

 

Lily

Link to comment
Share on other sites

As written, guests should not be able to see My Account, as they don't have an account and wouldn't be able to use any of the My Account links. No historical orders, no password to change, etc. The only thing that they could do would be to edit addresses, and there is already provision in checkout for that.

Always back up before making changes.

Link to comment
Share on other sites

  • 3 months later...

Seems i have a problem with the redirect function in application_top. It s supposed to redirect a guest account to the shopping cart if you click on My Account but it doesn t. It displays account.php.

 

This is the code i m talking about

 

if (tep_session_is_registered('customer_id') && tep_session_is_registered('customer_is_guest') && substr(basename($PHP_SELF),0,7)=='account') tep_redirect(tep_href_link(FILENAME_SHOPPING_CART));

 

If i delete && tep_session_is_registered('customer_is_guest') the code works ok but the idea is to redirect guest accounts and not registered users...

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