// Some fix + multistore for import tools
This commit is contained in:
1 parent
1c7225b4dc
commit
52be7fe939
7 files changed
+252
-128
No files matched your search
@@ -363,6 +363,14 @@ class ProductCore extends ObjectModel
|
||||
|
||||
return $fields;
|
||||
}
|
||||
|
||||
public function add($autodate = true, $nullValues = false)
|
||||
{
|
||||
if (!parent::add($autodate, $nullValues))
|
||||
return false;
|
||||
$this->setStock($this->quantity);
|
||||
return true;
|
||||
}
|
||||
|
||||
/**
|
||||
* Check then return multilingual fields for database interaction
|
||||
|
||||
Reference in new issue
Block a user