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.
UI Design for CRM Landing Page Category: Figma, Graphic Design, HTML, UI / User Interface, User Experience Research, User Interface / IA, Web Design Budget: ₹600 - ₹1500 INR
24-Mar-2026 11:04 GMT
Modern Clean Figma Showcase Site Category: Figma, Graphic Design, Photoshop, UI / User Interface, User Interface / IA, Web Application, Web Design, Web Development Budget: ₹1500 - ₹12500 INR
Urgent Email Restore & Migration Category: Cloud Computing, CPanel, Linux, Network Administration, PHP, System Administration, Technical Support, Troubleshooting, Web Hosting, Web Security Budget: $10 - $30 USD
24-Mar-2026 10:57 GMT
AI Search Optimization Expert | Rank on Google, ChatGPT & AI Platforms Category: AI (Artificial Intelligence) HW / SW, AI Chatbot Development, AI Content Creation, AI Development, AI Model Development, AI Text To Text, Internet Marketing, Link Building, Search Engine Marketing (SEM), SEO Budget: ₹75000 - ₹150000 INR
24-Mar-2026 10:55 GMT
Social Media Manager Πωλήσεων Αυτοκινήτων Category: A / B Testing, Advertising, Analytics, Content Creation, Content Strategy, Digital Marketing, Facebook Marketing, Social Media Management, Social Media Marketing Budget: €250 - €750 EUR
24-Mar-2026 10:55 GMT
SEO | AEO | GEO Expert Proposal Category: Content Strategy, Content Writing, Conversational AI, Generative AI, Internet Marketing, Keyword Research, Link Building, Marketing, Prompt Engineering, SEO Budget: ₹150000 - ₹250000 INR
24-Mar-2026 10:53 GMT
Edición Creativa de Promos Category: Adobe Premiere Pro, After Effects, Animation, Creative Design, DaVinci Resolve, Graphic Design, Motion Graphics, Video Editing, Video Production, Video Services Budget: £18 - £36 GBP