//small fix on quantity with installer
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@17759 b9a71923-0436-4b27-9f14-aed3839534dd
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