How can you make a shopping cart with this?

  • MadisonBlaze
    Asked on June 29, 2021 at 1:10 AM
    Thank you for your help. After talking with my boss, I think the best way
    to do this is https://www.jotform.com/build/211784880322154
    How can you make a shopping cart with this? Each date is $5. I am having a
    hard time adding it up for a total. Thank you so much.
    Clay
  • Ashwin JotForm Support
    Replied on June 29, 2021 at 1:10 AM

    I did check your form, and it seems you are trying to manually calculate the amount based on date field selection. Here are the steps you need to follow to achieve your requirement:

    #1. Use regular form fields to list your products. It seems you have already added a multiple choice field, and you can continue to use that.

    #2. Set "Calculation Values" for options you have added in multiple choice question. The following guide should help you how to set calculation values: https://www.jotform.com/help/301-how-to-assign-calculation-value

    #3. Add "Form calculation" widget and set the formula to calculate the amount. The following guide should help you how to perform calculation: https://www.jotform.com/help/259-how-to-perform-form-calculation-using-a-widget

    #4. Pass the final calculation value to the payment tool of the form to process payment. The following guide should help you: https://www.jotform.com/help/275-how-to-pass-a-calculation-to-a-payment-field

    Please take a look at the following cloned form and see if it works as expected: https://form.jotform.com/211790869133966

    Feel free to clone this form in your account for a closer look at the form. The following guide should help you in form cloning: https://www.jotform.com/help/42-how-to-clone-an-existing-form-from-a-url

    Hope this helps.

    Do get back to us if you have any questions.