PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

Shipping Price Based on Quantity and Particular Product

  1. Hello,

    I have exhausted the forums and found many questions about this issue, but not any definitive answers. I have a Gravity Form set up with multiple products and would like to calculate shipping cost based on total quantity of the products ordered. Up until recently, all of our products were the same size and weight. However, now I have the need to base shipping on the total quantity of products of a certain type. Obviously, the best solution here should easily allow for if statements to adjust for any number of quantity ranges and also if statements that adjust for any number or product types. I guess you would separately "total" the individual totals for each certain product type, apply the quantity filters, and then arrive at a new total price. Just not sure how to implement.

    Also, based on the customer's preference I am looking at either having the customers only pay the shipping, or pay for the entire order including shipping through Paypal. Do you foresee this being difficult? These are my last two steps before taking the form live. I would appreciate any help you could offer. Thanks!

    P.S. It speaks volumes that modifying Gravity Forms just a bit is more worthwhile and less time consuming than attempting to get this kind of functionality out of a cart plugin. Great work!

    Posted 12 years ago on Monday December 19, 2011 | Permalink
  2. This is the most comprehensive explanation I know for modifying the pricing properly:
    http://www.gravityhelp.com/documentation/page/Gravity_Forms_Pricing:_Adding_Tax

    This is being used to add tax, but the pricing calculations can be anything you want, including complex shipping arrangements.

    Posted 12 years ago on Tuesday December 20, 2011 | Permalink
  3. I am interested in this functionality as well. Gravity forms only allows one Shipping field per form, but it would be easy to do this conditionally if I could add more than one and show a certain shipping field based on the contents of my product field.

    Is anyone familiar with how to override this limitation? Will my form self destruct if I do? Thanks!

    Posted 12 years ago on Friday December 23, 2011 | Permalink
  4. Chris, Thanks so much. This should do the trick.

    Posted 12 years ago on Friday December 23, 2011 | Permalink
  5. @bheckman - glad that will work for you.

    @bozzmedia, I'm not sure. Nothing will self-destruct, but it might not work. The most comprehensive how to was linked to in my previous post. That's the best advice I have. However, you can almost always work around the limitations with some creative thinking. If not, you might need to consider a more robust shopping cart/commerce solution. Gravity Forms product fields are very basic and might not fit every need.

    Posted 12 years ago on Tuesday December 27, 2011 | Permalink
  6. Is the Shipping field going to be enabled for the new calculations any time soon?

    Posted 12 years ago on Wednesday May 9, 2012 | Permalink