Changelog — gravityforms/gravityformscart
0.1.0-alpha.3
2026-10-22
- Prepared the add-on for Gravity Labs. The add-on URL is now https://labs.gravity.com/cart.
- Replaced the Labs acknowledgement checkbox with the standard Labs notice on Cart settings and the coupons screen.
- Deleting the plugin now removes the coupon tables, the coupon code stored on entries, and the customer-receipt setup flag.
- Centered the cart icon, count, and quantity controls in the Appearance preview.
- Widened the corner radius and drawer width fields so the Inherit placeholder fits.
0.1.0-alpha.2
2026-09-30
- Added coupon codes. Create them under Forms → Cart: percentage or fixed-amount discounts on the cart subtotal, optional minimum subtotal, start/end dates, a total usage limit and a per-customer limit.
- Added a coupon code box to the Cart Summary field (per-field setting) and coupon endpoints to the REST API (POST/DELETE gf-cart/v1/cart/coupon).
- Added the discount as a negative line in the checkout form's product info so the Total field, payment add-ons and the entry Order Summary all reflect it.
- Added the applied coupon to the order snapshot, a "Coupon Code" entry meta column on checkout forms, and {cart_coupon_code}, {cart_discount} and {cart_total} merge tags.
- Coupon uses are counted once per completed (paid) order and re-validated at checkout, so an expired or used-up code is dropped instead of charged.
- Per-customer coupon limits now apply to logged-in shoppers at the moment the code is entered, not only at checkout, by resolving the cart token to its owner.
- When a coupon becomes invalid between being applied and the order being placed, the checkout form now explains which coupon was removed and asks the shopper to review the total, instead of showing the Total field's generic mismatch error.
- Fixed the REST cart payload reporting the subtotal as the total when a coupon discounts the whole cart to $0.00.
- Fixed the Forms → Cart coupon list showing a duplicate "Show more details" toggle on each row, and the Add/Edit coupon screen rendering without the Gravity Forms settings styles.
- Fixed the Forms → Cart page content sitting flush against the admin menu with no left or right gutter.
- Added a Payment panel to the checkout form's Cart settings. It lists the installed payment add-ons (Stripe, Square, PayPal, etc.) and this form's payment feeds, and warns when a form has no feed or a feed is not charging the Form Total, since such a feed would miss the cart items and coupon discount.
- Added a warning on product forms that carry a payment feed; payment belongs on the checkout form.
- Fixed the [gravityforms_cart_icon] mini-cart rendering unstyled, and the drawer not opening, on pages with no cart form (e.g. a shop grid or a block-theme header). The frontend script and stylesheet are now registered on every frontend request and enqueued whenever the shortcode or drawer is used.
- Added an Appearance section under Forms → Settings → Cart: accent, text, background, border, corner radius and drawer width, with color pickers and a live preview. Leave a field empty to inherit. A "Match Checkout Form Theme" toggle (on by default) copies the checkout form's Orbital Form Styles onto the drawer and mini-cart, which live outside the form and would otherwise stay on the default blue.
- Added a Customer Receipt notification to checkout forms. It is emailed to the form's Email field when the order completes (after payment, or immediately for a free order) and includes the shopper's details plus the order summary: cart lines, coupon, shipping and the amount charged. Edit it under Form Settings → Notifications. Existing checkout forms receive it the next time wp-admin loads.
0.1.0-alpha.1
2026-09-29
- Initial Gravity Labs release.
- Added per-form Cart roles: Product forms add their submission to a persistent cart; the Checkout form collects payment for the whole cart.
- Added cart lines as tagged entries on product forms, with guest carts (cookie) and logged-in carts (user meta) that merge on login.
- Added the Cart Summary field for the checkout form with quantity steppers, remove buttons and a live subtotal.
- Added cart line injection into the checkout form's product info so the Total field, payment add-ons and the entry Order Summary all charge and record the full cart.
- Added a slide-out cart drawer, the [gravityforms_cart_icon] mini-cart shortcode and the [gravityforms_cart] inline cart shortcode.
- Added a REST API (gf-cart/v1) for reading and editing the cart.
- Added holding of product-form notifications and add-on feeds until the item is paid for, then replaying them when the order completes.
- Added order completion on payment (including asynchronous/webhook completion), cart locking against double checkout, and empty-cart handling on the checkout form.
- Added "In Cart" and "Ordered" entry list filters, Cart meta boxes on line and order entries, and {cart_summary}, {cart_item_count}, {cart_subtotal}, {cart_order_entry_id} and {cart_checkout_url} merge tags.
- Added "Cart order completed" and "Item ordered from cart" notification events.
- Added a daily cleanup of abandoned cart lines.
- Added a Labs "not officially supported" notice to the add-on settings.