title: Change the cart item quantity for specific products in woocommerce
body: <p>Can I change WooCommerce quantity in some specific product? </p>
  
  <p>I have tried:</p>
  
  <pre><code>global $woocommerce;
      $items = $woocommerce-&gt;cart-&gt;get_cart();
      foreach($items as $item =&gt; $values) { 
          $_product = $values['data']-&gt;post; 
          echo "&lt;b&gt;".$_product-&gt;post_title.'&lt;/b&gt;  &lt;br&gt; Quantity: '.$values['quantity'].'&lt;br&gt;'; 
          $price = get_post_meta($values['product_id'] , '_price', true);
          echo "  Price: ".$price."&lt;br&gt;";
      } 
  </code></pre>
  
  <p>How to get specific product Id in cart?</p>