How can I set up variable shipping costs based on quantity selected

  • tristadeleon
    Fecha de consulta 8 de diciembre de 2017, 10:32

    hi, I'm building a form and I'm choosing in the shipping section of the product that I want different shipping cost per item not flat rate. When I choose that option and put in cost of shipping for first item, and then attempt to go to the next block for 'additional item' the section closes and doesn't let me specify. I have a product that has a qty option, what I'm trying to do is say for shipping 1 or 2 is $2, for the next qty of 3, 4 or 5, shipping is $4.  Suggestions on how to make this work?

  • David Jotform Support
    Fecha de respuesta 8 de diciembre de 2017, 12:23

    For variable shipping rates like that, it would require a bit of a rework of the form.  You would need to set up your products outside of the payment field using regular fields like number fields, single/multiple choice fields, text boxes etc.  It is possible to assign calculation values to options:

    https://www.jotform.com/help/301-How-to-Assign-Calculation-Value

    Perform calculations on those values:

    https://www.jotform.com/help/259-How-to-Perform-Form-Calculation-Using-a-Widget

    And pass that total to the payment field:

    https://www.jotform.com/help/275-How-to-Pass-a-Calculation-to-a-Payment-Field

    That way, you could use a condition to update a field with your shipping cost based on the quantity selected and include that value in your total:

    https://www.jotform.com/help/268-How-to-Insert-Text-or-Calculation-into-a-Field-Using-Conditional-Logic

  • tristadeleon
    Fecha de respuesta 8 de diciembre de 2017, 12:43
    Oh goodness. I'm lost. Thank you for the suggestion ,but that seems like a
    whole lot of work..wow. The whole calculation through me ...
    [image: photo]
    Trista De Leon
    Star Director at Scentsy Candles
    Email trista@ScentsWarmers.com Website www.ScentsWarmers.com
    Questions ? Join Our Live Chat!


    ...
  • David Jotform Support
    Fecha de respuesta 8 de diciembre de 2017, 13:57

    It is quite a bit more work than just setting up products.  From in the payment field it is possible to set up shipping for each item, but not variable pricing for different ranges of quantities.