Fixed: fix feedback changes related to the selling preference types

This commit is contained in:
amit sharma
2026-08-19 16:27:03 +05:30
parent ad010a6809
commit 0fd5d98eea
3 changed files with 7 additions and 10 deletions

View File

@@ -2227,6 +2227,10 @@ class AdminNormalProductsControllerCore extends AdminController
$_POST['price_calculation_method'] = array_sum(array_map('intval', Tools::getValue('price_calculation_method')));
}
if (is_array(Tools::getValue('selling_preference_type'))) {
$_POST['selling_preference_type'] = array_sum(array_map('intval', Tools::getValue('selling_preference_type')));
}
$className = 'Product';
// @todo : the call_user_func seems to contains only statics values (className = 'Product')
$rules = call_user_func(array($this->className, 'getValidationRules'), $this->className);