Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls

My Account to go to login if not logged in

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 08-23-2004, 12:10 PM
 
guntersammet guntersammet is offline
 

Newbie
  
Join Date: Aug 2004
Posts: 2
 

Default My Account to go to login if not logged in

Hi all:
I would like a link on the speed bar with my account which goes to the my account section if logged in and to the login page if not logged in.

Is there a built in way I havent found yet? If I use register.php?mode=update, I get a signup and if I use error_message.php?login_incorrect I can't get to the account.

TIA

Gunter
__________________
www.SammySolutions.com
Reply With Quote
  #2  
Old 08-26-2004, 11:35 AM
 
thegrail thegrail is offline
 

Newbie
  
Join Date: Jul 2004
Posts: 9
 

Default

Unfortunately, I don't think xcart has it set up this way, so you're going to have to create a myaccout.php page, I believe. However, I am also very interested in having a My Account page where people can log/retrieve lost password in if they are a Returning Customer or Create a New Account if they are a New Customer.

Also on this page could be links to the Wish List, Modify Profile and Order History.

If anyone has any thoughts on this, it certainly would be appreciated.
__________________
Chuck
x-Cart v. 4.0.1
mySQL 4.0.20
php-4.3.7
Solaris OS 9
Apache 2.0.50
Reply With Quote
  #3  
Old 08-26-2004, 11:51 AM
  lyncca's Avatar 
lyncca lyncca is offline
 

X-Adept
  
Join Date: Nov 2003
Location: Fort Worth, Texas
Posts: 455
 

Default

I'm pretty sure you can do this actually, here is an example:
http://www.1stforpartysupplies.com/xcart/customer/home.php

If you click My Account at the top, you get a registration page if not logged in and your profile page if you aren't. If you search the forums you can probably find the code to do this. (My partner did this one so I don't know off the top of my head)

Also, there is a retrieve password page included under the "help" menu, unless that isn't what you are looking for?
Reply With Quote
  #4  
Old 08-26-2004, 03:17 PM
 
thegrail thegrail is offline
 

Newbie
  
Join Date: Jul 2004
Posts: 9
 

Default

Thanks for the attempt, but that is just putting the link to the registration page in the speedbar. I did search the boards for quite some time, but didn't see anything.

I want to go to an intermediate MyAccount page where the user can login with user/pw if they are a returning member, or click (the registration.php link, which is easy to place there) if they are a new member and want to create an account.

I will then put other links on the account page that refer to their account, such as Order History, etc. In this way the user can always know where to go to get any info related to their account, orders, profile, etc.
__________________
Chuck
x-Cart v. 4.0.1
mySQL 4.0.20
php-4.3.7
Solaris OS 9
Apache 2.0.50
Reply With Quote
  #5  
Old 08-30-2004, 07:41 AM
 
pungu pungu is offline
 

Newbie
  
Join Date: Jul 2004
Posts: 6
 

Default User login

I am going thru the same headache. I saw this site do it successfully though >> http://store.bizmanualz.com/customer/help.php?section=userlogin

I am not sure what version of x-cart they have but I tried it with my 4.0.1 and it would not take.

Hopefully this might generate some ideas
__________________
Policies R Us
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 03:31 PM.

   

 
X-Cart forums © 2001-2020