diff --git a/classes/PaymentModule.php b/classes/PaymentModule.php index 010dcf4a8..6ad8bb66f 100644 --- a/classes/PaymentModule.php +++ b/classes/PaymentModule.php @@ -964,7 +964,7 @@ abstract class PaymentModuleCore extends Module return true; } else { - $error = Tools::displayError('Cart cannot be loaded or a booking has already been placed using this cart'); + $error = Tools::displayError('Cart cannot be loaded or a booking has already been created using this cart.'); PrestaShopLogger::addLog($error, 4, '0000001', 'Cart', intval($this->context->cart->id)); die($error); } diff --git a/classes/controller/FrontController.php b/classes/controller/FrontController.php index 521b68c63..c80831cd4 100644 --- a/classes/controller/FrontController.php +++ b/classes/controller/FrontController.php @@ -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; }