I want to set the page back to home if a user is clicking on logout button (skipping the logout page).
How to do so?
Edit catalog/controller/account/logout.php
After:
Add:
It redirects to home before success-page is loaded.
After:
Code: Select all
$this->data['button_continue'] = $this->language->get('button_continue');
Code: Select all
$this->redirect($this->url->link('common/home', '', 'SSL'));
Who is online
Users browsing this forum: No registered users and 66 guests