I would to sell tickets and change the prices based on the number of dates selected

  • Andrius Rudys
    Asked on April 11, 2019 at 7:15 AM

    Hi, I was looking to your templates but couldn't find what I need. Let me explain. We want to sell tickets to classes and workshops. So our customers should be able to choose   dates from the list (one or more date). The price should change depending on how many days they chose. And at the end we need "Add to cart" button. 

    Can you help us?


    Thanks,
    Andrius Rudys

  • Welvin Support Team Lead
    Replied on April 11, 2019 at 10:57 AM

    Since the price is conditional, I think the option that will work best for you would be to set up the list of dates using our Multiple Choices field. I can come up with a demo, but I need to know if the prices for each date is the same. How many dates there would be, and if you are going to group them. 

    The method would be to get the total by calculation widget and pass the amount from the calculation widget to the payment field if you'd like people to pay online.

  • Andrius Rudys
    Replied on April 11, 2019 at 12:41 PM

    Thanks for your answer. I will try to explain more details. So under each class (product) should be drop down menu with choices "Member" and "Non Member". Their prices are different. And after it customer should be able to choose date (should be able to choose more than one). I think we will add up to 10 dates. Prices for any date are the same. But if customer will choose for example 3 different dates, final prices should be 3x. 

  • David JotForm Support Manager
    Replied on April 11, 2019 at 2:06 PM

    Please try the following:

    1) Add the Dropdown to allow the user selecting "Member" or "Non Member".

    2) Add the Multiple Choice fields to display the dates for Members and Non Members.

    https://www.jotform.com/help/46-Quick-Overview-of-Form-Fields

    1555005342fields Screenshot 10

    3) Create two conditions, one to show the dates for the Members, and the other condition to show the dates for the Non Members:

    https://www.jotform.com/help/316-How-to-Show-or-Hide-Fields-Base-on-User-s-Answer

    1555005710conditions Screenshot 21

    4) Assign the values to each date option: https://www.jotform.com/help/301-How-to-Assign-Calculation-Value

    5) Perform calculations to get the total: https://www.jotform.com/help/259-How-to-Perform-Form-Calculation-Using-a-Widget

    1555005995calculation 001 Screenshot 32

    6) Pass the total to your integrated payment gateway(if you will integrate with one): https://www.jotform.com/help/275-How-to-Pass-a-Calculation-to-a-Payment-Field

  • Andrius Rudys
    Replied on April 11, 2019 at 3:18 PM

    Does it work on Squarespace.com?

  • Welvin Support Team Lead
    Replied on April 11, 2019 at 3:32 PM

    Yes, but the form works separately. For embedding a form to Squarespace website, please follow our steps here https://www.jotform.com/help/37-Adding-Form-to-Squarespace

  • Andrius Rudys
    Replied on April 11, 2019 at 3:40 PM

    Can I try it for free? Maybe there is trial mode?

  • David JotForm Support Manager
    Replied on April 11, 2019 at 3:49 PM

    Yes, you can, please register a free account, and then create your form, and embed it in Squarespace.

    Open a new forum thread if you need anything else, we will be glad to assist you.