// Context part 31
This commit is contained in:
1 parent
a9a1706085
commit
3d733ae6e2
57 files changed
+200
-165
No files matched your search
@@ -290,7 +290,7 @@ class ParentOrderControllerCore extends FrontController
|
||||
//if guest checkout disabled and flag is_guest in cookies is actived
|
||||
if(Configuration::get('PS_GUEST_CHECKOUT_ENABLED') == 0 AND ((int)$this->context->customer->is_guest != Configuration::get('PS_GUEST_CHECKOUT_ENABLED')))
|
||||
{
|
||||
$this->context->cookie->logout();
|
||||
$this->context->customer->logout();
|
||||
Tools::redirect('');
|
||||
}
|
||||
elseif (!Customer::getAddressesTotalById($this->context->customer->id))
|
||||
|
||||
Reference in new issue
Block a user