| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
#1
|
|||||||
|
|||||||
![]() I want to make my own account page for my customers to access varies things:
Modify Profile, Delete Profile, Order History, Wish List, View Cart, Checkout, Log out I got all of the links for the above, what I want is a check for login. If logged in show: X, Y, Z else show login, password, register Thanks for any help
__________________
-----www.hudge.com------ X-Cart Pro v4.1.8 X-Cart Gold v4.1.8 Lite Commerce v2.2 |
|||||||
#2
|
|||||||
|
|||||||
![]() Those if statements are already included in the various auth and auth_box templates and can be drawn from there.
- Mike
__________________
4.1.9 |
|||||||
#3
|
|||||||
|
|||||||
![]() sorry still a novice (not fawn of the word newbie
![]() Ok I see those 2 files and I understand those create the auth look. I dont need that. I want to make my own php file outside of a tpl that check the user status. I am just not sure how to find the right statement. Can you please post it. I havelooked in login.php, register.php, auth.php, auth.tpl & authbox.tpl I think what I want is in login.php just not sure. I will paypal $5 to anyone who can solve this for me. I know it is not much $ but I dont have much either to offer ![]() Thanks.
__________________
-----www.hudge.com------ X-Cart Pro v4.1.8 X-Cart Gold v4.1.8 Lite Commerce v2.2 |
|||||||
#4
|
|||||||
|
|||||||
![]() Don't need to offer $5, it has already been done:
http://forum.x-cart.com/viewtopic.php?t=14069 Forum search is your friend ![]()
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#5
|
|||||||
|
|||||||
![]() hudge,
No problem. I would be happy to help. I already have a post that details what you are trying to do, it's called "My Login": http://forum.x-cart.com/viewtopic.php?t=14069 The mod works, but has generated a lot of requests for newbies with some of the code being proprietary (relating only to my custom buttons). I have though about revamping the post and may do so when I have a chance. There are many ways to get a login page, but having an actual account paghe requires the integration and addition to the help duirectory and general.tpl in help. This is a great way to have an account center or area where a customer can access their details. PM me and I'll send you a link to some sites where have done this. You can set if statements for membership or user type or even for specific users themselves. It is quite simple once the base template structure is setup. Unfortunately, at the moment can offer the full solution as it's a couple hours of work and $5 isn't motivating enough. ![]() If I get a chance, I'll revist the "My Account Login" post and make it easier and cleaner for newer users. It's not too far off, but to get it right, you would stll need to have some experience or be able to recognize what the code is and says. - Mike
__________________
4.1.9 |
|||||||
|
|||
X-Cart forums © 2001-2020
|