[-] BO: Fix weight impact and default combination on combinations generator
This commit is contained in:
+3
-3
@@ -1079,12 +1079,12 @@ class ProductCore extends ObjectModel
|
||||
$obj->available_date = '0000-00-00';
|
||||
}
|
||||
|
||||
$obj->default_on = $default_on;
|
||||
$default_on = 0;
|
||||
|
||||
foreach ($combination as $field => $value)
|
||||
$obj->$field = $value;
|
||||
|
||||
$obj->default_on = $default_on;
|
||||
$default_on = 0;
|
||||
|
||||
$obj->save();
|
||||
|
||||
if (!$id_combination)
|
||||
|
||||
Reference in New Issue
Block a user