How can I use conditional logic with shipping fees?

  • HAPEN
    Asked on May 3, 2015 at 7:08 PM

    Is it possible to use conditional logic to add shipping fees if an order is placed after a deadline?

     

    For example, I am offering free shipping if a customer orders a product before a stated deadline. 

    When using the PalPal payment gateway, I want to add shipping fees if the deadline has passed.

    I have not created the form yet, I am only inquiring at this time.

     

    Thanks,

     

  • Ashwin JotForm Support
    Replied on May 4, 2015 at 1:19 AM

    Hello HAPEN,

    Yes it is possible to achieve your requirement but you will not be able to manage this condition within the payment question. You will have to add normal form fields i.e. textboxes, checkbox, radio button and then pass the calculation amount to the PayPal payment question. 

    Here are the steps you should follow:

    #1. Add check box/ radio button question in your to list your products / items.

    #2. Add the calculation values of each of the check box/ radio button options. Please check the screenshot below:

    How can I use conditional logic with shipping fees? Image 1 Screenshot 30

     

    #3. Add a calendar control in your form and set the default date to display as current date. You should hide this date field.

    #4. Add one text box in your form.

    #5. Add condition in your form to check the date value. If the date is greater than a specified date then add the shipping amount in the text box we have added in step #4 and then show it in the form.

    #6. Add a "Form Calculation" widget in your form to calculate the product price and shipping.

    Please check the screenshot below:

    How can I use conditional logic with shipping fees? Image 2 Screenshot 41

     

    Please take a look at the following demo form I created for you ans see if this is what you wanted to achieve:  http://form.jotformpro.com/form/51230549060951? 

    Feel free to clone this form for a closer look. The following guide should help you in form cloning:  http://www.jotform.com/help/42-How-to-Clone-an-Existing-Form-from-a-URL 

    Do get back to us if you have any questions.

    Thank you!