I want to have a standard delivery rate within 4 miles and 2 dollars for every mile additional

  • Profile Image
    Welch_Nathanael
    Asked on December 22, 2020 at 08:53 AM

    I also want to load that into the item cost

  • Profile Image
    ashwin_d
    Answered on December 22, 2020 at 09:12 AM

    Please note that for shipping, you can only add a flat shipping charge or per product charge. It is not possible to dynamically charge the delivery based on distance. The following guide should help you how to enable shipping in payment tool: https://www.jotform.com/help/304-how-to-add-shipping-cost-to-payment-forms

    One way to achieve your requirement is by using regular form fields to list your products instead of adding the product and options in the payment tool. You can then add "Form Calculation" widget in form to calculate the amount and pass it on to the payment tool for processing. The following guides should help you:

    Perform calculation: https://www.jotform.com/help/259-how-to-perform-form-calculation-using-a-widget

    Pass calculation to payment tool: https://www.jotform.com/help/275-how-to-pass-a-calculation-to-a-payment-field

    The issue will be how to calculate the distance of delivery. If you want your user to calculate the distance, I would suggest you to please take a look at our "Driving Distance" widget and see if that fits into your requirement.

    Hope this helps.

    Do get back to us if you have any questions.

  • Profile Image
    Welch_Nathanael
    Answered on December 31, 2020 at 10:51 AM

    I was able to calculate that....I am wondering how to add that into the shipping cost for an item in a product list automatically....I see in the new product list feature you can assign a shipping cost and an additional cost for a second item.....It's that initial cost I would like to be modified by relaying a calculation from my calculator.

  • Profile Image
    Welch_Nathanael
    Answered on December 31, 2020 at 10:53 AM
  • Profile Image
    ashwin_d
    Answered on December 31, 2020 at 12:15 PM

    I did check your form and found that you have added "Driving Distance" widget to calculate the distance. Do you mean to say that you want this delivery cost to be added to the total?

    Please note that you need to use regular form fields to list your products. You can then calculate the amount of the selected products and also add the delivery cost to the final total. You may like to take a look at the following guide for more information on how to pass the calculated amount to the payment field: https://www.jotform.com/help/275-how-to-pass-a-calculation-to-a-payment-field

    I have already explained this workaround in my previous reply. Do get back to us if you want us to create a demo form, and we will try to help you on this.

    We will wait for your response.

  • Profile Image
    Welch_Nathanael
    Answered on December 31, 2020 at 01:55 PM
    I want the calculator to replace the shipping cost
    Sent from my iPhone
    ...
  • Profile Image
    gerardw
    Answered on December 31, 2020 at 08:56 PM

    Please note that as suggested by my colleague above, the shipping cost inside the product list field cannot be replaced by the calculator.

    You will need to add the products in your form (not using the product list or payment field) but using Inventory widgets or single-choice fields.

    You can then calculate the total cost of the products and the shipping cost by using a Form calculation widget: https://www.jotform.com/help/259-how-to-perform-form-calculation-using-a-widget