Here we learn abouthow to add in cart page using custom form for single product in WooCommerce.
Here we learn about how to update cart on quantity change value.