15
WordCamp SLC 2016 talk by Luke Cavanagh Gravity Forms for e-commerce and other cool things.

Gravity Forms for e-commerce and other cool things

Embed Size (px)

Citation preview

Page 1: Gravity Forms for e-commerce and other cool things

WordCamp SLC 2016 talk by Luke Cavanagh

Gravity Forms fore-commerce and other cool things.

Page 2: Gravity Forms for e-commerce and other cool things

Luke Cavanagh

WordPress DeveloperWordPress Core and WP repo support.@Bluehost

Page 3: Gravity Forms for e-commerce and other cool things

Gravity Forms is more than just simple contact formsGravity 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.

Page 4: Gravity Forms for e-commerce and other cool things

1. Why Gravity Forms?Because is has the most complete set of add-ons, integrations and 3rd party plugins out there.

➔ Well PricedThe Developer license is very well priced.

➔ Add-onsIt comes with 36 add-ons that you can use.

➔ 3rd Party PluginsThere are a lot of 3rd party plugins which integrate with GF.

Page 5: Gravity Forms for e-commerce and other cool things

Use a reliable form plugin. Easiest way to fix form issues, is use a solid form plugin.

Page 6: Gravity Forms for e-commerce and other cool things

Tried all of the form plugins, the best option is Gravity Forms.(But Caldera Forms rocks and is free on the WP repo.)

Page 7: Gravity Forms for e-commerce and other cool things

2. Building a Payment FormYou build a payment form the same way you would build a regular form.

➔ Add Product FieldsYou can add in as many needed product fields as you require, you can also add in product options.

➔ Add a product totalYou can also add in shipping methods and product total on the form.

Page 8: Gravity Forms for e-commerce and other cool things

Pricing field options There are more enough to build your payment form using them.

Page 9: Gravity Forms for e-commerce and other cool things

I've been ionized, but I'm okay now. -Buckaroo Banzai

Page 10: Gravity Forms for e-commerce and other cool things

3. Payment Feed TimeNow 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 gatewayGF supports Stripe, PayPal and Authorize.net as well as many others.

➔ Payment FeedSo 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.

Page 11: Gravity Forms for e-commerce and other cool things

Ron Burgundy.

I immediately regret this decision.

Source: imdb.com

Page 12: Gravity Forms for e-commerce and other cool things

4. Remember the NotificationsAfter everything else has been setup, remember to setup the user and admin notifications.

➔ Admin NotificationsSo 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 NotificationsMake the message personal, use merge tags. Those could be the users first name which is used in the body of the notification.

Page 13: Gravity Forms for e-commerce and other cool things

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

Page 14: Gravity Forms for e-commerce and other cool things

Remember conditional logic, it makes complex forms look simple. #conditionallogic

Page 15: Gravity Forms for e-commerce and other cool things

Further readingIf 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-gravity-forms

https://www.gravityhelp.com/documentation/

https://www.gravityhelp.com/other-resources/