In your controller you can do something like this:
Code: Select all
if (!$this->customer->isLogged()) {
$this->session->data['redirect'] = $this->url->link('account/account', '', 'SSL');
$this->redirect($this->url->link('account/login', '', 'SSL'));
}
Who is online
Users browsing this forum: No registered users and 5 guests