[-] BO : Bug with duplicate carts in back office due to id_guest

This commit is contained in:
gRoussac
2013-03-06 18:51:29 +01:00
parent 789f6ee19c
commit 86abe094d2
-2
View File
@@ -304,8 +304,6 @@ class AuthControllerCore extends FrontController
}
$this->context->cart->id_customer = (int)$customer->id;
$this->context->cart->secure_key = $customer->secure_key;
if ($id_guest = (int)Guest::getFromCustomer($this->context->cart->id_customer))
$this->context->cart->id_guest = $id_guest;
$this->context->cart->save();
$this->context->cookie->id_cart = (int)$this->context->cart->id;
$this->context->cookie->update();