How to assign different prices to the products depeniding on the quantity people select?

  • Profile Image
    Asked on May 29, 2014 at 10:53 AM


    I have a client selling 4 workshop sessions, each with a unique date and time.

    - Fee is $30/session.  

    - Signup for 3 sessions = $20/session or $60 total.

    - Signup for 4 sessions = $15/session or $60 total.

    How do I create the proper options in the Paypal Wizard?

    Please advise asap.


    Thank you,


  • Profile Image
    Answered on May 29, 2014 at 01:57 PM


    Is this the form you are trying create according to the description above?

    I think there is a workaround we can apply to help you to accomplish such scenario. That would imply to add a Text field, add a "How many sessions do wish to attend?" field. add three "Which sessions are you attending?" fields, use Form Calculation widget and apply conditions to hide/show "Which sessions are you attending?" fields depending on the number of sessions chosen.

    I created a demo form to show you how it would work, here it is:

    If you believe that fits your needs I can come up with the step by step instructions to teach how to accomplish that scenario.

    I will get back to you with the instructions in a moment.

    Thank you.

  • Profile Image
    Answered on May 29, 2014 at 03:25 PM

    Is this the form you are trying create according to the description above?

    That is the beginning of it, yes.

    Thank you for your demo with conditional logic - good approach.  But, I want to submit the payment to Paypal.  I need this to affect the PayPal wizard/section.

    Please advise.



  • Profile Image
    Answered on May 29, 2014 at 05:29 PM

    Please Clone EliezerN's form to check the back end. He used a PayPal field populated with the calculated total value from a Form Calculation Widget field.

    Related article:

    How to pass a calculation to a payment field

    If you need any further assistance on this, please let us know. We will be happy to help.

  • Profile Image
    Answered on May 29, 2014 at 10:03 PM

    Hi again Scott,


    Sorry for the late reply and if I made you think that I was not using a Paypal field, I was going to mention that in my explanation. At any rate, now that I know this is what you are looking for I give you here the step by step instructions to accomplish the workaround. 


    So, these are the steps to follow:

    1. Add a Text field and paste the list of sessions into it:

    2. Then add a radio buttons and label it as "How many sessions do you wish to attend?" or something like that, and add three options "1, 3 and 4 sessions"

    3. Then add one Radio Button and two Check Box fields and label them as "Which sessions are you attending?" and then add your four sessions to each one of the fields.

    4. After adding the three fields, setup three conditions that will Show one of the fields I mention above and will Hide two of them, the one that will be shown will depends on the choice taken from the field "How many sessions do you wish to attend?"


    - Condition to Show the first field if "1 Session" is chosen from "How many sessions do you wish to attend?":

    - Condition to show the second field:

    - Condition to show the third field:

    5. Then, make sure to assign Calculation values to each option of each "Which sessions are you attending?" field. To the firs field assign 30 as the Calculation Value for the four sessions/options, to the second field assign 20 to each one of the sessions and to the third one assign 15 to each one of the sessions, in few words, the Calculation is the price they will have depending on how many sessions the user chooses.

    Here is how to assign Calculation Values to the fields:

    6. After that, add a Form Calculation widget, click on the little gear icon and click on Hide Field option to hide it from the form. That field will not be visible in the form, it will be used just to be populated with the total of the three fields where the user will chose the sessions from.

    7. Then, go to conditions and setup three more conditions, but at this time select "Insert Text Or Mathematical Calculation into field" in the Condition Wizard.


    Please click on the links below to see how the conditions must be setup:


    - First condition - Second Condition - Third Condition



    8. As my colleague Mike stated, I have used a Paypal field that is populated with the amount populated in the Calculation widget/field. So, please add a Paypal field:

    And then follow the steps of this guide to know how to pass/populate a calculated amount to a payment field: How to pass a calculation to a payment field

    Once you do that you will be all set :)

    Kindly let me know if something is not clear enough.


  • Profile Image
    Answered on July 18, 2016 at 03:32 PM

    I cannot find the calculation field, where is it?

  • Profile Image
    Answered on July 18, 2016 at 04:13 PM

    You can find Calculation field is in the More Fields section on the left hand side, just click More Fields and search for Form Calculation:

    Do get back to us if you have further questions.

    Thank you!