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.
Instagram Reels Ad Video Editor Category: Adobe Premiere Pro, After Effects, Animation, Final Cut Pro, Motion Graphics, Video Ads, Video Editing, Video Services Budget: ₹12500 - ₹37500 INR
05-Apr-2026 10:03 GMT
App Media Sosial dengan Pesan Category: Android, App Store Optimization, Backend Development, Flutter, IPhone, Mobile App Development, PhoneGap, React Native Budget: $15 - $25 USD
05-Apr-2026 10:01 GMT
Flat Fuel Finder Icon Design Category: Adobe Illustrator, Photoshop, Graphic Design, Icon Design, Logo Design, UI / User Interface, User Interface / IA, Vector Design Budget: $10 - $30 AUD
05-Apr-2026 09:59 GMT
Cartoon 3rd-Person Mission Game Category: 3D Animation, Animation, Game Design, Game Development, Graphic Design, Illustration, Unity, Unreal Engine Budget: £20 - £250 GBP
Bimbingan Freelance Ilustrasi Online Category: Art Consulting, Content Strategy, Creative Design, Design Thinking, Digital Art, Graphic Design, Illustration, User Experience Research Budget: $250 - $750 USD
05-Apr-2026 09:57 GMT
Viral Instagram Reels Editing Category: Adobe Premiere Pro, After Effects, Animation, CapCut, Final Cut Pro, Motion Graphics, Video Editing, Video Production Budget: ₹400 - ₹750 INR
05-Apr-2026 09:53 GMT
YouTube, Instagram & Wallpaper Edits Category: Adobe Premiere Pro, After Effects, Animation, DaVinci Resolve, Final Cut Pro, Graphic Design, Video Editing, Video Services Budget: ₹12500 - ₹37500 INR
05-Apr-2026 09:50 GMT
Launch New Product Line Store Category: HTML, Inventory Management, PHP, Product Management, Shopify, Shopify Development, Shopify Templates, Web Development Budget: $30 - $250 USD
05-Apr-2026 09:48 GMT
Cross-Platform Mobile App UI/UX Category: Android, Figma, IOS Development, IPhone, Mobile App Development, UI / User Interface, User Interface / IA, UX / User Experience Budget: $30 - $250 USD
AI Transcription Tool - Content Needed Category: AI Content Writing, Article Writing, Content Writing, Copywriting, Ghostwriting, Product Descriptions, SEO Writing, Technical Writing Budget: £2 - £5 GBP
05-Apr-2026 09:45 GMT
Full-Time YouTube Video Editor (Monthly Salary) Category: Adobe Premiere Pro, After Effects, Commercials, Final Cut Pro, Motion Graphics, Video Editing, Video Post Editing, Video Production, YouTube Budget: €2 - €6 EUR