How can I use conditional logic with shipping fees?

  • Profile Image
    Asked on May 03, 2015 at 07: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.




  • Profile Image
    Answered on May 04, 2015 at 01: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:


    #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:


    Please take a look at the following demo form I created for you ans see if this is what you wanted to achieve: 

    Feel free to clone this form for a closer look. The following guide should help you in form cloning: 

    Do get back to us if you have any questions.

    Thank you!