Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Sign in to follow this  
abks

Installed Purchase Without Account , can not see account detail

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

Share this post


Link to post
Share on other sites

This might be the cache problem, and now click My Account, it display My Account page properly.

Now working on to display My Account on the bar for guest.

Share this post


Link to post
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.

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×