Please note that front end form only works when WooCommerce is installed and activated, also make sure "Redirect to the cart page after successful addition" is checked in WooCommerce → Settings → Product → General → Add to cart behavior so that users will be redirected to cart page when they fill up the form.