Woocommerce add to cart quantity buttons with AJAX

I have on every page (product pages, single product page) plus and minus buttons next to the quantity to add up, next to the button a add to cart icon in AJAX.

I can’t figure out 2 problems:

Issue 1: My plus and minus buttons adding up a weird sum instead of +1 and -1. When I click on + it adds 35 (guessing sums up the total of products on the page and adds that to quantity)

Issue 2: When I click on add to cart button, even if the quantity is 2,3 or 10 it only adds up 1 and not the amount that is in the quantity field.