Filter products

  • Profile Image
    discrover
    Asked on February 20, 2017 at 03:28 PM

    Hi, I would like to make a Reservation Form for products according to them duration; DAY TRIPS, WEEK LONG TOURS..

    instead of showing all products (Tours) which I sell.

    I make a  required filter (DAY TRIPS, WEEK TOURS) but cannot finish filtering products.

    How can I hide or filter some products according to upper filter?

    https://form.jotformeu.com/70505541321343

    Any idea?:)

  • Profile Image
    BDAVID
    Answered on February 20, 2017 at 04:45 PM

    It is not possible to show/hide specific products of your payment field. If you want to accomplish that, you will need to create you product in native fields such as Drop Down, Single Choice, or Multiple Choice fields, and assign values to each option: https://www.jotform.com/help/301-How-to-Assign-Calculation-Value 

    Then perform your calculation to obtain the total: https://www.jotform.com/help/259-How-to-Perform-Form-Calculation-Using-a-Widget 

    An finally, pass the total amount to your payment field: https://www.jotform.com/help/275-How-to-Pass-a-Calculation-to-a-Payment-Field 

    Let us know if you need more help.

  • Profile Image
    discrover
    Answered on February 20, 2017 at 06:24 PM

    Thank you very much on quick respond.

    Now I need to put code for calculate sum of all people, so I need to sum number of ( Adults and Children's) Is there option for it?

    How calculation should look like in this case?  Need this;

    Product cost= 10$  

    size S: x1

    size M: x 3

     SUM 1+3=4

    SUM:4X COST OF PRODUCT:10=40

    https://eu.jotform.com/build/70505541321343#preview

     

    Is there any possibility to put discounts for "size S"?

  • Profile Image
    BDAVID
    Answered on February 20, 2017 at 07:57 PM

    "Now I need to put code for calculate sum of all people, so I need to sum number of ( Adults and Children's) Is there option for it? "

    Here is how:

    Result:

    "How calculation should look like in this case?  Need this;

    Product cost= 10$  

    size S: x1

    size M: x 3

     SUM 1+3=4

    SUM:4X COST OF PRODUCT:10=40"

    Example:

    Let us know if you need more help.