HelloARI logo: vinyl signs and identity design home«    web design«    sign design«    photography«    blog«    contact« 
web design and wordpress development 94114
blog»
san frnacisco web design

Gravity Forms for Ecommerce with tax and shipping options

1 Flares 1 Flares ×

I love Gravity Forms. It’s the best form building tool for WordPress and now it offers a new feature that allows more complex calculations between fields. Combine that with the PayPal Payments Pro and you have a really fast, simple and powerful ecommerce option for those times when a full WordPress ecommerce system/plugin is not needed. Easier to set up, easier to maintain and gets the job done.

The sample below allows for a variety of shipping prices based on order total (but you could base it on total number of items too). It also adds sales tax – but only if your shipping address is set to California. Of course you could set it to any state. Note that the shipping field disappears when selecting a different state. The key is to set up a “subtotal” field and put your calculations in there.

There are some notes in this form – let me know if you have further questions about how this is set up in the comments below and I’ll do my best to help explain the options. See screnshots at the end of this post.

UPDATE 8/2013: I found this bit of free code from GravityWiz that gives you a ‘subtotal‘ field – I have not tried it but looks like a simpler solution that saves lots of work if you need to edit your form products with any regularity.

UPDATE 4/2014: I have had users ask me for a copy of this form. Here’s a XML export of the form – should be ready to import into your Gravity Forms. Let me know if it helps.

 Gravity forms admin screenshots

greavity forms shipping Gravity Forms for Ecommerce with tax and shipping options subtotal gravity forms 358x600 Gravity Forms for Ecommerce with tax and shipping options gravity forms california sales tax 416x600 Gravity Forms for Ecommerce with tax and shipping options

 

 

1 Flares Twitter 0 Facebook 0 Google+ 0 LinkedIn 1 Email -- 1 Flares ×
This entry was posted in WordPress, WordPress Ecommerce and tagged . Bookmark the permalink. Post a comment or leave a trackback: Trackback URL.

8 Comments

  1. Posted April 20, 2013 at 9:37 pm | Permalink

    Hi – I’d love to know how you’ve done the shipping field !!
    Nice form

  2. Chris Ski
    Posted May 22, 2013 at 3:04 pm | Permalink

    This is exactly what we are looking for – how did you get the form to calculate a variation in the shipping cost based on the cart subtotal!??? can you send details??

    • Posted August 26, 2013 at 12:24 am | Permalink

      see screenshot for how to make a subtotal – or the update i just added for a shortcut. i’m not sure if this is really documented on the GF website or not.

  3. Danny
    Posted June 13, 2013 at 6:13 pm | Permalink

    Do you have screen shots/instructions on how I can get the tax to work? I can’t figure it out to at all.

  4. auntypizza
    Posted January 7, 2014 at 6:51 am | Permalink

    Thanks for the screenshots – very helpful.

    I think I just spend hours doing something and there’s a faster way – THIS way!
    Oh well – never mind ;)

  5. Ron
    Posted April 4, 2014 at 9:06 am | Permalink

    Would you be willing to export and send me a copy of this form? I’ll gladly send you a Paypal donation.

Post a Comment

Your email is never published nor shared. Required fields are marked *

*
*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Add this ribbon to your WordPress website re-abolish slavery
1 Flares Twitter 0 Facebook 0 Google+ 0 LinkedIn 1 Email -- 1 Flares ×
© 2014
contact  |  links  |  rss