title: how to get particular product quantity from the cart page in the woocommerce
body: <p>With this code:</p>
  
  <pre><code>foreach ( WC()-&gt;cart-&gt;get_cart() as $cart_item ) {  
     $quantity =  $cart_item['quantity'];
     echo $quantity;
  }
  </code></pre>
  
  <p>I can get the quantity of all the products added in cart but I need it for the particular product.</p>