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.
Beauty Service Platform Layout Design Category: Adobe XD, Figma, Graphic Design, Sketch, UI / User Interface, User Interface / IA, UX / User Experience, Web Design, Wireframes Budget: $30 - $250 USD
22-Feb-2026 16:59 GMT
Instagram Ad Portuguese Translation Category: Content Writing, Copywriting, Creative Writing, Marketing, Portuguese (Brazil) Translator, Social Media Marketing, Spanish Translator, Translation Budget: £250 - £750 GBP
22-Feb-2026 16:58 GMT
Gaming Streaming Room Setup Category: Audio Engineering, Game Design, Game Development, Video Conferencing, Video Editing, Video Hardware, Video Production, Video Services Budget: $750 - $1500 USD
22-Feb-2026 16:57 GMT
Park Video to 3D Render Category: 3D Animation, 3D Modelling, 3D Rendering, 3D Visualization, After Effects, Lighting Design, Lumion, V Ray Budget: ₹1500 - ₹12500 INR
22-Feb-2026 16:57 GMT
Desain Logo & Poster Category: Branding, Content Strategy, Graphic Design, Illustration, Logo Design, Marketing Strategy, Photoshop, Poster Design, Social Media Marketing, Visual Arts Budget: $15 - $25 USD
Video Promosi TikTok Fashion Category: Affiliate Marketing, Content Creation, Digital Marketing, Influencer Marketing, Script Writing, Social Media Marketing, Video Editing, Video Production Budget: $15 - $25 USD
22-Feb-2026 16:55 GMT
Laser-Cut Mandir Model File Category: 3D CAD, 3D Design, 3D Graphic Design, 3D Modelling, AutoCAD, CAD / CAM, Graphic Design, Vector Design Budget: ₹600 - ₹1500 INR
22-Feb-2026 16:55 GMT
Catálogo Veículos com Busca Avançada Category: Frontend Development, Graphic Design, HTML, Laravel, Logo Design, MySQL, Web Development, Website Build, Web Design Budget: $250 - $750 USD
22-Feb-2026 16:55 GMT
Dual Website Development & Maintenance Category: Content Management System (CMS), Graphic Design, HTML, PHP, SEO, Web Design, Web Development Budget: $250 - $750 USD