abks Posted October 19, 2009 Share Posted October 19, 2009 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 Quote Link to comment Share on other sites More sharing options...
abks Posted October 19, 2009 Author Share Posted October 19, 2009 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. Quote Link to comment Share on other sites More sharing options...
♥ecartz Posted October 19, 2009 Share Posted October 19, 2009 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. Quote Always back up before making changes. Link to comment Share on other sites More sharing options...
anabrolic Posted February 18, 2010 Share Posted February 18, 2010 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... Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.