I use Woocommerce and their one page checkout plugin. I also use the Avada theme.
I have a variable product with 2 variations. I have a product page that has the one page checkout below the product.
I have it working at the moment when you click on a variation, then click on add to cart and it works fine. It loads in the one page checkout.
What I want to achieve however is a user clicks a button that adds that variation to cart (without having to click on add to cart), the cart refreshes automatically. Seems simple but I can't get it to work via ajax!
I know this can be achieved via URL but I've been trying to do it via ajax and I just cant get it working.
Expected Results: - Seamless Cart Updates: When the user clicks on the "Add to Cart" button, the cart should be updated, and the checkout table should update immediately to show the new product. - No Page Reload: The page should not reload, and the checkout table should refresh dynamically. - Secure and Functional AJAX: Ensure proper nonce validation is in place for security when sending AJAX requests to update the cart and checkout table.
The Specific Tasks: Product Selection with Custom Buttons:
On a custom page (e.g., a product page for access to reports), users will be presented with buttons for selecting product variations (e.g., 12 months access to the Cash report or 12 months full access to all report categories). When a user selects one of these options, the product should be added to the cart immediately. Auto-updating the Checkout Review Table:
After the product is added to the cart, the One Page Checkout review table (where the user can see their selected products and prices) should refresh automatically without the need for a page reload. This will update the review table with the newly added product. Handling AJAX Requests for Cart Updates:
The One Page Checkout plugin requires specific AJAX actions to update the checkout table and the cart contents. The nonce used for security in AJAX requests needs to be correctly passed from WordPress to JavaScript to avoid 400 Bad Request errors.
We're looking for an experience developer with knowledge of WooCommerce that can help us.
Artikel Pendidikan 500 Kata Category: Blog Writing, Content Writing, Copywriting, Data Entry, Excel, Indonesian Translator, Proofreading, Research, SEO Budget: $15 - $25 USD
Art Supplies Review Video Tutorials Category: Adobe Premiere Pro, Article Writing, Content Creation, Copywriting, Ghostwriting, Video Editing, Video Production, Video Services Budget: $15 - $25 USD
08-Mar-2026 05:01 GMT
Website for a Book Launch Category: Email Marketing, Graphic Design, HTML, Illustration, SEO, Web Design, WordPress Budget: $250 - $750 USD
08-Mar-2026 05:00 GMT
Suspenseful 2D Book Trailer Animation -- 2 Category: 2D Animation, 2D Animation Explainer Video, 3D Animation, Adobe Animate, After Effects, Animation, Caricature & Cartoons, Video Editing Budget: $750 - $1500 USD
08-Mar-2026 04:59 GMT
Vidéo publicitaire Facebook percutante Category: Adobe Premiere Pro, After Effects, Animation, Social Media Marketing, Sound Design, Video Editing, Video Production, Video Services Budget: $250 - $750 USD
08-Mar-2026 04:56 GMT
Replit to GCP Supabase Migration Category: CI / CD, Frontend Development, Google Cloud Platform, Java, JavaScript, MySQL, Node.js, PHP, PostgreSQL, Tailwind CSS Budget: min ₹2500 INR
08-Mar-2026 04:56 GMT
Social Post & Thumbnail Design Category: Adobe Illustrator, Photoshop, Figma, Logo Design, Social Media Marketing Budget: $30 - $250 USD
Spreadsheet Mixed Data Entry Category: Data Analysis, Data Cleansing, Data Entry, Data Management, Data Processing, Excel, Microsoft Office, PDF Budget: $15 - $25 USD
08-Mar-2026 04:49 GMT
Fitness Blog Copywriting Specialist Category: Article Writing, Blog Writing, Content Writing, Ghostwriting, Online Writing, SEO Writing Budget: ₹750 - ₹1250 INR