I had previously set up my customer's store (version 0.7.2) with one Product category and then integrated 9 distinct products within a form on the site that allowed a visitor to select the quantity for each of the 9 products and then click the order button one time to start the checkout process. Foxycart has been working wonderfully at handling the orders.
My customer now wants to add in a subscription option as a distinct product choice in the same form based page. The subscription would be for a single product from a reduced selection list of the 9 products. The subscription would be either for once a month, or once every 2 weeks.
I have reviewed the code snippets and was easily able to add a subscription selection to the form page, but have been unable to find a way to set the behavior such that the subscription is added only when the visitor selects a quantity of "1" from a choice of either "0" or "1".
Is there a way to set this up so that with one click on the "add to cart" button a visitor can select a combination of products that might or might not include the subscription?
In my testing so far, the subscription is always added to the cart.
Thank you in advance for the help.