title: Unable to setPrice, setTaxClassId and setWeight when programmatically creating product
body: <p>I'm using Magento Community Edition ver. 1.6.2.0.</p>
  
  <p>I’m trying to add a Simple product using the Varien Data Collection model (not the Api).</p>
  
  <p>The product is being created, but the price, tax class id and weight are not being set.</p>
  
  <p>I would be grateful if someone could advise as to why these particular product attributes are not being set.</p>
  
  <p>Here’s my code:</p>
  
  <pre><code>// instatiate Product
      $product = Mage::getModel('catalog/product');
  
      $product-&gt;setWebsiteIds(array(1));
      $product-&gt;setSku('99996');
      $product-&gt;setPrice(99.0000);
      $product-&gt;setAttributeSetId(4); 
      $product-&gt;setCategoryIds(array(2));
      $product-&gt;setType('Simple Product');
      $product-&gt;setName('Product Name6');
      $product-&gt;setDescription('The Product Description');
      $product-&gt;setShortDescription('Brief Description');
      $product-&gt;setStatus(1);    
      $product-&gt;setTaxClassId(2);
      $product-&gt;setWeight(1.0000);                
      $product-&gt;setCreatedAt(strtotime('now'));
  
      $product-&gt;save();
  
      $stockItem = Mage::getModel('cataloginventory/stock_item');
      $stockItem-&gt;loadByProduct($product-&gt;getId());    
      if (! $stockItem-&gt;getId()) {
          $stockItem-&gt;setProductId($product-&gt;getId())-&gt;setStockId(1);
      }
      $stockItem-&gt;setData('inventory_manage_stock_default', 1);
      $stockItem-&gt;setData('is_in_stock', 1);
      $stockItem-&gt;setData('qty', 10000);
  
      $stockItem-&gt;save();
  </code></pre>
  
  <p>Any help is greatly appreciated!</p>
  
  <p>Kind regards,</p>
  
  <p>James</p>