[-] BO : fixed product indexation markup in import #PSCFV-7695
This commit is contained in:
@@ -1261,6 +1261,9 @@ class AdminImportControllerCore extends AdminController
|
||||
foreach (Product::$definition['fields'] as $key => $array)
|
||||
if ($array['type'] == Product::TYPE_FLOAT)
|
||||
$product->{$key} = str_replace(',', '.', $product->{$key});
|
||||
|
||||
// Indexation is already 0 if it's a new product, but not if it's an update
|
||||
$product->indexed = 0;
|
||||
|
||||
$res = false;
|
||||
$field_error = $product->validateFields(UNFRIENDLY_ERROR, true);
|
||||
|
||||
Reference in New Issue
Block a user