Search the Community
Showing results for tags 'User Login'.
-
How does one configure PrestaShop 1.7 so that any new user that creates a new account (registers) in Front Office cannot login until administrator manually activates the account (that is new user accounts are created disabled and require manual administrator action to enable and allow front office login access)?
- 2 replies
-
- approve cutomer
- admin
- (and 5 more)
-
Hi, I am working on a module and I was trying to check the user for whether he has logged in or not. I used the following statement for authentication in the tpl file. {if $logged} ==> I think that means that the user has logged on here {else} ==> otherwise if user is not logged display the message here {/if} But the problem is that even after logging in I am still getting else part i.e. the user has not logged yet. Why is that? Is that because of the prestashop newer version (some bug).
-
I need to redirect user to the same page where he filled log-in details. I have a custom pop-up login form which posts to mywebsite.com/login page (the login form can be accessed in any page). The problem is that when I use ?back=mypage in form post url, user is still redirected to my-acount. I found that these values are set in AuthController.php in this line: if (($back = Tools::getValue('back')) && $back == Tools::secureReferrer($back)) Tools::redirect(html_entity_decode($back)); Tools::redirect('index.php?controller='.(($this->authRedirection !== false) ? urlencode($this->authRedirection) : 'my-account')); It seems that posting to url with ?back=ur_to_redirect should work. I also tried to create an input field (name=back) with url in value, but it didn't worked as well. I use PrestaShop 1.5.6.1 Any thoughts how can I get user redirect to previous page after login?
- 2 replies
-
- controller
- smarty
-
(and 2 more)
Tagged with:
-
Hi All, I cant find a module for this. I would like to be able to redirect my customers to a specific page (specific to user) after they login to my shop - the URL could be entered by me, or by them - not sure on the limits there. or.... to display a link to their "Favourite" section on the page it displays after login. Can anyone advise if such a module exist? or how i would go about achieving this?
- 1 reply
-
- User Login
- rediect
-
(and 2 more)
Tagged with:
-
Hi, I am new to prestashop, would like to disable User Login page from the Prestahop 1.4.2.5. My client doesn't want Login option to be visible on the site as he does not want to sell products online at the moment. please suggest the options. thank you, om
- 2 replies
-
- User login
- user registration
-
(and 1 more)
Tagged with: