How to set shipping based on purchase amount

  • Profile Image
    mcwhirtersupply
    Asked on September 03, 2015 at 08:29 PM

    I'm trying to set up an order form using the purchase order wizard, but I need to the shipping to be adjusted based on the dollar amount of the order. IE, up to $99, shipping is $X.XX. Is there a way to do this?

  • Profile Image
    Chriistian
    Answered on September 04, 2015 at 03:03 AM

    Hi,

     

    If I understand you correctly, you want to set a shipping fee on a field based on the order total from the Purchase order widget. Unfortunately, you can't do it on the widget. You may however, use your form source code and add a custom script that will update some field based on the order total and do the conditional logic you need.

     

    Do let us know if you need further assistance.

     

    Regards.

  • Profile Image
    mcwhirtersupply
    Answered on September 04, 2015 at 02:37 PM

    Okay. I don't write scripts; is there a script available somewhere that you can point me to? Thanks.

  • Profile Image
    Kiran
    Answered on September 04, 2015 at 04:10 PM

    Unfortunately, we cannot help you with custom scripts. However, as an alternative you may have the calculations done manually by having the products using dropdown fields and assigning the calculation values. Based on the selected product from the drop down and to calculate the shipping cost, you may perform the calculation to a calculation widget by following the guide How-to-Insert-Text-or-Mathematical-Calculation-into-a-field-using-a-Condition

    Once you have the final total, you may pass the value to the payment field i.e., purchase order.

    Please see the demo form below to see if that works for you.

    http://form.jotformpro.com/form/52466169678976?

    You may clone this JotForm to your account to see how the calculations are performed and conditions are set.

    Hope this information helps. Let us know if you need any further assistance. We will be happy to help. Thanks!