Tags/topics: 
3
Answers
Vote up!
0
Vote down!

How do I login to my store?

I'm trying to use Commerce Kickstart for a client who is starting up a business and doesn't want the shopping cart functionality yet. I removed the block with the login link on it, thinking that without a shopping cart the customers wouldn't need to set up accounts. Unfortunately I now can't login or logout of the admin section! What would the URL of the login page be? I'm running it on wampserver locally if that makes a difference.

Asked by: padams73
on March 3, 2013

3 Answers

Vote up!
1
Vote down!

Try these:

login: sitename/user/login
logout: sitename/user/logout

Thanks

Answer by: realskorpion
Posted: Mar 3, 2013
Vote up!
0
Vote down!

I used this code in my footer div:

<?php
if ($user->uid > 0) {
    print
l(t('my account'), 'user') . ' &nbsp;|&nbsp; ' . l(t('Logout'), 'user/logout');
}
else {
    print
l(t('Admin'), 'user');
}
?>
Answer by: jaap76
Posted: Mar 4, 2013

Comments

Handy information, but I think the person was looking for the url to login :)

- Josh Miller on March 4, 2013

No worries, hope it was helpful anyway. Cheers.

- jaap76 on March 4, 2013