//small fix on quantity with installer
This commit is contained in:
@@ -508,6 +508,12 @@ class InstallXmlLoader
|
||||
|
||||
$this->storeId($entity, $identifier, $entity_id);
|
||||
}
|
||||
|
||||
public function createEntityStockAvailable($identifier, array $data, array $data_lang)
|
||||
{
|
||||
$stock_available = new StockAvailable();
|
||||
$stock_available->updateQuantity($data['id_product'], $data['id_product_attribute'], $data['quantity'], $data['id_shop']);
|
||||
}
|
||||
|
||||
public function createEntityTab($identifier, array $data, array $data_lang)
|
||||
{
|
||||
@@ -1268,4 +1274,4 @@ class InstallXmlLoader
|
||||
if (file_exists($from_path.$tab->class_name.'.gif'))
|
||||
copy($from_path.$tab->class_name.'.gif', $backup_path.$tab->class_name.'.gif');
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user