When clicking on "Add to Cart", my M2 website loads for 4 seconds and then redirects to the cart. Some visitors tend to click "Add to Cart" again after waiting 2 seconds. This causes the item to be added to the cart multiple times.
I'm looking for a way to automatically disable the "Add to Cart" button after button click, eventually with a loading indicator, so that the visitor knows the page is processing. I don't think this is a default M2 feature. Does anybody know how I can accomplish this?
I've seen a similar question/solution for M1 before (Limiting "Add to cart" to just 1 click / item), but not for M2.
I know I should focus on increasing the load speed. I will. I just really need this as a temporary solution first.