I am trying to add x number of products input and button to my catalog page so I can select a number, then hit add to cart.
Is it possible to add in this function? The user will provide a number from my input to add that many products to the cart. This should function is exactly the same as "View Product page" with the and button to add to cart.
Are there hooks/actions that woocommerce runs for every product to be put into cart? How does woocommerce add products to cart?
Any ideas? Thanks