How can I create a sub-category of products that cannot be purchased without buying one of the main products?

  • spacehistory
    Asked on April 1, 2019 at 3:51 PM

    This is our situation: We are hosting an overnight camping weekend and would like to offer the following:

    Product 1 - RV Spot at $130 each

    Product 2 - Large Car Camping Spot at $65 each

    Product 3 - Small Car Camping Spot at $45 each

    Product 4 - Off-Lot Camping Spot at $40 each

     

    Along with their Camping Spot Reservation, we'd like to offer their choice of "add-ons":

    Product 5 - Rocket Workshop at $20 per person

    Product 6 - White Sands Tour at $20 per person

    Product 7 - Sunspot/Apache Peak Tour at $35 per person

    Product 8 - Raffle Entry at $15 each

     

    The problem we have is that we do not want anyone to purchase Products 5-8 without purchasing one of Products 1-4.  The reason is we don't want people to show up for a $20 Workshop without being a paid overnight camper.

     

    Can you help?

  • Welvin Support Team Lead
    Replied on April 1, 2019 at 5:02 PM

    Your form is currently set up with one of our payment gateways. Unfortunately, this option is not possible there. You may consider adding a text above or below the payment field that would tell people that one of the first four items is required. 

    Or, re-configure your form products using our dropdown field, calculation values, calculation widget and passing calculation to the payment field. I'm creating a demo. I'll update you here. 


  • Welvin Support Team Lead
    Replied on April 1, 2019 at 5:16 PM

    Here's the demo: https://form.jotform.com/90906257863971.

    1. The items are configured with dropdown field.

    2. Each of the fields has a calculation value for the quantity:

    https://www.jotform.com/help/301-How-to-Assign-Calculation-Value

    3. The Total field is a calculation widget:

    https://www.jotform.com/help/259-How-to-Perform-Form-Calculation-Using-a-Widget

    4. The Paypal Payment is a Paypal field. The amount is pass from the calculation, guide here https://www.jotform.com/help/275-How-to-pass-a-calculation-to-a-payment-field.

    5. The last 4 items are shown when one of the first four products are filled by conditional logic.

    https://www.jotform.com/help/196-Hide-or-Show-Multiple-Fields-at-Once 

    I hope this works for you. 

    You can clone the form to your account so you can check the settings.

    To clone, follow our steps here https://www.jotform.com/help/42-How-to-Clone-an-Existing-Form-from-a-URL