From e7956c992bc87f3c5c02da6d312f744a8a1ae482 Mon Sep 17 00:00:00 2001 From: Sumit Panwar Date: Thu, 23 May 2024 12:25:51 +0530 Subject: [PATCH] Fixed: Order restrict errors logic on checkout page --- controllers/front/OrderOpcController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/controllers/front/OrderOpcController.php b/controllers/front/OrderOpcController.php index 79ad0b6e7..95a0adceb 100644 --- a/controllers/front/OrderOpcController.php +++ b/controllers/front/OrderOpcController.php @@ -494,7 +494,7 @@ class OrderOpcControllerCore extends ParentOrderController // $objCurrency = new Currency(Configuration::get('PS_CURRENCY_DEFAULT')); $this->context->smarty->assign( array( - 'orderRestrictErr' => count($this->errors) ? 0 : 1, + 'orderRestrictErr' => count($this->errors) ? 1 : 0, // 'allDemands' => $allDemands, // 'defaultcurrencySign' => $objCurrency->sign, 'THEME_DIR' => _THEME_DIR_,