// Stock : removed references to the actual stock management in AdminOrders/Product in order to merge with the new stock management system

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@9322 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
bMancone
2011-10-13 15:32:06 +00:00
parent da6641ca10
commit cc24b5abc0
2 changed files with 9 additions and 10 deletions
+5 -2
View File
@@ -196,7 +196,7 @@ class ProductCore extends ObjectModel
protected $langMultiShop = true;
public $cache_is_pack;
public $cache_has_attachments;
public $cache_has_attachments;
public $is_virtual;
public $cache_default_attribute;
@@ -336,7 +336,10 @@ class ProductCore extends ObjectModel
$this->tags = Tag::getProductTags((int)$this->id);
}
$this->quantity = $this->getStock();
/**
* @FIXME
*/
$this->quantity = 0;
if ($this->id_category_default)
$this->category = Category::getLinkRewrite((int)$this->id_category_default, (int)$id_lang);