WooCommerce add to cart URL
All you need to do is to alter the downloadalbe product URL to:
This is where “%ID%” is the Post ID of the product. When clicked, it will add the product to the shopping cart and redirect to the Cart/Check-Out.
Additionally, you can add specific properties, quantities etc. to the URL itself: