Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Gravity Forms for e-commerce and other cool things

Gravity Forms for e-commerce and other cool things

How to use Gravity Forms for e-commerce and the many other cool things you can use it for.

Luke Cavanagh

February 13, 2017
Tweet

More Decks by Luke Cavanagh

Other Decks in Technology

Transcript

  1. Gravity Forms is more than just simple contact forms Gravity

    Forms can be used for e-commerce, user creation, post creation, 3rd party API integrations as well as for many complex options options on forms. One of the most powerful features is conditional logic and well as a very complete set of integration add-ons. The most powerful of which is the Zapier add-on. Since Zapier has integrations with thousands of services. Gravity Forms integrates with most payment gateways like PayPal, Stripe, Authorize.net as well as with many CRMs.
  2. 1. Why Gravity Forms? Because is has the most complete

    set of add-ons, integrations and 3rd party plugins out there. ➔ Well Priced The Developer license is very well priced. ➔ Add-ons It comes with 36 add-ons that you can use. ➔ 3rd Party Plugins There are a lot of 3rd party plugins which integrate with GF.
  3. Use a reliable form plugin. Easiest way to fix form

    issues, is use a solid form plugin.
  4. Tried all of the form plugins, the best option is

    Gravity Forms. (But Caldera Forms rocks and is free on the WP repo.)
  5. 2. Building a Payment Form You build a payment form

    the same way you would build a regular form. ➔ Add Product Fields You can add in as many needed product fields as you require, you can also add in product options. ➔ Add a product total You can also add in shipping methods and product total on the form.
  6. 3. Payment Feed Time Now that you have created your

    form. You need to select a payment gateway and then create a payment feed on the form. ➔ Select a payment gateway GF supports Stripe, PayPal and Authorize.net as well as many others. ➔ Payment Feed So you will need to add in the creds and API key or PayPal’s case make you sure have IPN enabled. Also you need to select the transaction type, payment amount and select any notification options.
  7. 4. Remember the Notifications After everything else has been setup,

    remember to setup the user and admin notifications. ➔ Admin Notifications So in GF there are not event types. So you can use those in your notifications as the trigger type. Examples Payment Complete or Payment Failed. ➔ User Notifications Make the message personal, use merge tags. Those could be the users first name which is used in the body of the notification.
  8. So what else can GF do? Do you like WP-CLI?

    Well GF has a CLI add-on. so you can manage GF using WP-CLI. WP-CLI Zapier, it integrates with pretty much anything. So you can send the form submission entries to any service. Zap it! ACF to add user meta fields. Then you can use those fields on user creation and auto-populate fields on a form. ACF, Users and auto-populate
  9. Further reading If you are interested in finding out more

    cool things you can do with Gravity Forms. Further reading https://gravitywiz.com/ https://github.com/lukecav/awesome-gravi ty-forms https://www.gravityhelp.com/documentatio n/ https://www.gravityhelp.com/other-resourc es/