How to only show shipping as price when shipping button is selected?

  • Profile Image
    kmobiglia
    Asked on March 29, 2020 at 06:30 PM

    Good afternoon, I'm wondering if there's a way on my form to only have shipping show up as a price when the shipping button is selected. As of now, i can put shipping as available, but it adds the shipping price when pick-up and delivery are selected as well. Thank yoU! 




  • Profile Image
    gerardw
    Answered on March 29, 2020 at 10:31 PM

    Since you have enabled the shipping option inside the payment, it will be shown be default regardless of which type of order is selected.

    Unfortunately, it is not possible to show the shipping cost only on the payment field using conditions.

    You will need to add the products list outside the payment field, have a separate field for shipping cost and then show the shipping cost only when the type of order is selected as shipping.

    You can calculate the total amount using a Form Calculation widget - https://www.jotform.com/widgets/calculation

    Finally, you can pass the total amount to the payment field for payment.

    Here are few related guides:

    How-to-Show-or-Hide-Fields-Base-on-User-s-Answer 

    How-to-Pass-a-Calculation-to-a-Payment-Field

    How-to-Perform-Form-Calculation-Using-a-Widget 

    Do try this out and let us know if you face any issues.