Order exists error message at front office
This commit is contained in:
@@ -307,7 +307,7 @@ class FrontControllerCore extends Controller
|
||||
}
|
||||
|
||||
if (Validate::isLoadedObject($cart) && $cart->OrderExists()) {
|
||||
PrestaShopLogger::addLog('Frontcontroller::init - Cart cannot be loaded or a booking has already been placed using this cart', 1, null, 'Cart', (int)$this->context->cookie->id_cart, true);
|
||||
PrestaShopLogger::addLog('Frontcontroller::init - Cart cannot be loaded or a booking has already been created using this cart', 1, null, 'Cart', (int)$this->context->cookie->id_cart, true);
|
||||
unset($this->context->cookie->id_cart, $cart, $this->context->cookie->checkedTOS);
|
||||
$this->context->cookie->check_cgv = false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user