Gravity Forms: WooCommerce Cart Capture
Automatically capture the contents of a users cart when they submit a gravity form. To use Set gravity form to pre-populate a field. Set the key as woocommerce_cart. The cart contents at the time of submission will automatically be captured.
by Lucas Stark · github.com/lucasstark/gravityforms-woocommerce-cart-capture · website
★ 21stars
5forks
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/lucasstark/gravityforms-woocommerce-cart-capture/archive/refs/heads/master.zipReadme
gravityforms-woocommerce-cart-capture
Automatically capture the contents of a users cart when they submit a gravity form.
To use
- Add a hidden field to your form.
- On the advanced tab of the field editor select "Allow field to be populated dynamically".
- Set the fields "Parameter Name" to be woocommerce_cart
The plugin will automatically look for any field with that parameter set and fill in the cart details for you.