From ad010a6809a24a317a36ed8fcd971bef8aec2f93 Mon Sep 17 00:00:00 2001 From: amit sharma Date: Wed, 19 Aug 2026 15:47:39 +0530 Subject: [PATCH] Fixed: variable validation issue Co-authored-by: Name --- controllers/admin/AdminNormalProductsController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/controllers/admin/AdminNormalProductsController.php b/controllers/admin/AdminNormalProductsController.php index be9f8adb7..741e71fdd 100644 --- a/controllers/admin/AdminNormalProductsController.php +++ b/controllers/admin/AdminNormalProductsController.php @@ -2382,7 +2382,7 @@ class AdminNormalProductsControllerCore extends AdminController $this->errors[] = $this->l('Please select at least one buying option.'); } - if (!Tools::getValue('price_calculation_method')) { + if (Tools::getValue('id_product') && !Tools::getValue('price_calculation_method')) { $this->errors[] = $this->l('Please select at least one price calculation method.'); }