gravity forms for e-commerce and other cool things

Post on 21-Jan-2018

415 Views

Category:

Internet

0 Downloads

Preview:

Click to see full reader

TRANSCRIPT

WordCamp SLC 2016 talk by Luke Cavanagh

Gravity Forms fore-commerce and other cool things.

Luke Cavanagh

WordPress DeveloperWordPress Core and WP repo support.@Bluehost

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.

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.

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

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

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.

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

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

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.

Ron Burgundy.

I immediately regret this decision.

Source: imdb.com

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.

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

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

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/

top related