Gravity Perks
Gravity Connect
Gravity Shop
Snippet Library
Blog
Account
Gravity Wiz
Gravity Perks
Gravity Perks
A suite of 47+ Gravity Forms addons
Product Details
Pricing
Documentation
Gravity Connect
Gravity Connect
Connect Gravity Forms to top-shelf services
Product Details
Pricing
Documentation
Gravity Shop
Gravity Shop
Bridging Gravity Forms & WooCommerce
Product Details
Pricing
Documentation
Snippet Library
Blog
Account
Log In
Support
Menu
Snippets
Gravity Shop Product Configurator
Snippet Library
/
Gravity Shop Product Configurator
php
Clear stale Entries on load
Although stale entries are cleared via the woocommerce_cleanup_sessions cron schedule that runs twice daily, this snippet will clear the stale...
php
Move validation errors to be directly above product Gravity Form.
By default, Gravity Shop Product Configurator will display validation errors at the very top of the form used to configure...
php
Add Entry Data to WooCommerce Order Custom Field
Add data from the Gravity Forms entry attached to a cart item to a custom field on the WooCommerce order...
php
Unlink Hidden Products in Cart.
php
Display Message When Product Form is Disabled
php
Revalidate the cart for GP Limit Dates restrictions.
php
Add order metadata to GF entries on export.
js
Capture Variation in Field
Capture the selected variation in a form field.
php
Allow switching subscriptions for products managed by GS Product Configurator
By default, with WooCommerce Subscriptions, you can only switch subscriptions with products that are either Variable Subscriptions or subscriptions in...
php
Allow Entry-less Submissions
Bypass Gravity Forms default validation that requires at least one field to be filled out to submit a form. Note:...
php
Show WooCommerce Discounts on Entry
If a discount is applied at checkout, it will be displayed in the WooCommerce order summary. By default, this discount...
php
Include Form ID in WooCommerce Product Exports
php
Map Form Fields to WooCommerce Checkout
Map Gravity Forms fields in the form attached to a product and automatically populate the WooCommerce checkout accordingly. This opens...
php
Include WC Product Quantity in Total Field
Include the WooCommerce product quantity in the Gravity Forms Total field calculation.
php
Populate Gravity Forms field with WooCommerce Order ID
Populate fields in a Gravity Form that is linked to a WooCommerce product using GS Product Configurator with the WooCommerce...
php
Remove GSPC Product Add-ons in WC Order Email
php
Trigger feeds when payment is on hold.
By default, feeds are only triggered when the payment is processing or complete.
php
Remove Price from Addon Display
Add "gspc-remove-price" to your field's CSS Class Name setting and this snippet will automatically remove the price from the product's...
js
Sync Field Max to WooCommerce Quantity
Sync a field's max to the max of the WooCommerce product's quantity input. Works with Variable Products.
php
Remove Quantity from Addon Display
* Add "gspc-remove-quantity" to your field's CSS Class Name setting and this snippet will automatically remove the quantity from the...
php
Trigger WP Fusion feed when payment is delayed
WP Fusion does not register its Gravity Forms add-on using GFAddOn::register, nor does it run add_delayed_payment_support which means the feed...
php
Display Choice Labels for Product Add-ons
By default, Gravity Forms will display the value of a choice after it has been submitted. Install this snippet to...
js
Update product price when form total changes