The WooCommerce Cart & Checkout Action for JetFormBuilder allows you to use custom forms to add products to the WooCommerce cart and instantly redirect users to the checkout page. This is ideal for creating custom "Buy Now" flows, donation forms, or simplified order pages.
How to Configure the Action
To set this up, you will use the "Add to Cart & Redirect to Checkout" post-submit action.
-
Add the Action:
In the JetFormBuilder editor, go to the Post Submit Actions section (right sidebar). Click New Action and select "Add to Cart & Redirect to Checkout". -
Edit Settings:
Click the pencil icon (Edit Action) to configure the details:- Get Product ID from: Choose "Manual Input" for a static product or "Form Field" to let the user select a product dynamically.
- WooCommerce Price field: Map a form field (like a calculated total) to override the product price if needed.
-
Map Checkout Fields:
Scroll down to the WooCommerce Checkout Fields Map section. Here, you can connect your form fields (e.g., Name, Email, Address) to the standard WooCommerce checkout fields. This ensures the user doesn't have to enter their details twice.
Common Use Cases
- Single Page Checkout: Create a landing page with a purchase form that goes straight to payment.
- Donations: Allow users to enter a custom amount (mapped to Price field) and pay immediately.
- Services: Detailed booking forms that result in a seamless cart addition.
We Can Handle This For You
As a full-service managed host, we can handle this complex configuration for you so you can focus on your business. Since this involves critical e-commerce functionality and dynamic form logic, this work falls under our Content Operations service.
- Form Setup & Logic: We can build and style multi-step forms that integrate perfectly with your store.
- Checkout Mapping: We ensure all customer data maps correctly to the checkout fields to prevent lost orders.
- Troubleshooting: If your form isn't adding products or redirecting correctly, we can investigate and fix it.
Need assistance or have a question? No problem! We're on it. Contact us at support [at] webops [dot] host or submit a support ticket. Our team is available 9am-5pm, 7 days a week (24/7 for emergency requests).