title: Magento checkout_cart_product_add_before and get number of products added
body: <p>I created the event checkout_cart_product_add_before:
  <a href="http://markshust.com/2012/08/27/create-checkout_cart_product_add_before-observer-magento" rel="nofollow">http://markshust.com/2012/08/27/create-checkout_cart_product_add_before-observer-magento</a></p>
  
  <p>Hoever when I do this the getQuoteItem() seems to be unavailable, so I cannot get to the number of products added to cart. When I use the _after method I can use:</p>
  
  <pre><code>public function checkStock2($observer) {
    Mage::log("Check stock before");
    $request = $observer-&gt;getQuoteItem();
    Mage::log("q in order = " .$request['qty'] ."");
  }
  </code></pre>
  
  <p>However when I am before I cannot reach the getQuoteItem as it is not there yet. Is there a way I could get the number of products the user is trying to add to the cart?</p>
  
  <p>Thanks!</p>