I have a product landing page that is hosted on a static site (due to various reasons we can't have it created in WordPress). I want to redirect users to the WooCommerce checkout page when they click Buy on this page.
The page consists of a few checkboxes and radio buttons, which are essentially options for a few different products. So, when customer clicks Buy, the WooCommerce cart should contain those products with selected options.
I've created those products in WooCommerce. I've looked at the 'add to cart' URL feature. This option would require a different URL for every possible combination of selected options on the landing page.
Is there a way to have just one URL in the form action attribute on the landing page, and have it send all the information to WooCommerce? And how could that information be used in WooCommerce to add those products to the cart?