protected function loginCheckout()
    {
        $result = $this->user_action->login($this->getSubmitted('user'));

        if (isset($result['user'])) {
            $result = $this->cart_action->login($result['user'], $this->data_cart);
        }

        if (!empty($result['user'])) {
            $this->redirect($result['redirect'], $result['message'], $result['severity']);
        }

        $this->setError('login', $result['message']);
    }