Code: Select all
<?php
class ControllerAccountLogout extends Controller {
public function index() {
if ($this->customer->isLogged()) {
$this->cart->clear();
$this->customer->logout();
unset($this->session->data['shipping_address']);
Code: Select all
<?php
class ControllerAccountLogout extends Controller {
public function index() {
if ($this->customer->isLogged()) {
$this->cart->clear();
$this->customer->logout();
unset($this->session->data['shipping_address']);
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Users browsing this forum: No registered users and 556 guests