diff --git a/classes/Product.php b/classes/Product.php index 39680a78b..dc1fb6a0a 100644 --- a/classes/Product.php +++ b/classes/Product.php @@ -4827,7 +4827,7 @@ class ProductCore extends ObjectModel public function addWs($autodate = true, $null_values = false) { - $success = parent::add($autodate, $null_values); + $success = $this->add($autodate, $null_values); if ($success && Configuration::get('PS_SEARCH_INDEXATION')) Search::indexation(false, $this->id); return $success;