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.
Indian SDR/Sales for CashewSoft ERP Category: Account Management, B2B Marketing, Business Development, Communications, Lead Generation, Leads, Marketing, Marketing Strategy, Report Writing, Sales Budget: ₹12500 - ₹37500 INR
21-May-2026 18:45 GMT
AI-Driven GK Image Creation Category: AI Art Creation, AI Content Creation, AI Design, Caricature & Cartoons, Graphic Design, Illustration, Midjourney Budget: ₹1500 - ₹12500 INR
21-May-2026 16:04 GMT
Educational Health and Wellness Posts Category: Article Rewriting, Article Writing, Blog Writing, Content Writing, Editing, Ghostwriting, Research, SEO Budget: £250 - £750 GBP
21-May-2026 16:03 GMT
Industrial Gas System Design Category: Chemical Engineering, Engineering, Mechanical Engineering Budget: $15 - $25 CAD
21-May-2026 16:02 GMT
AI-Driven Full-Stack Web Optimization Category: AI Development, AI Model Development, Git, JavaScript, Large Language Models (LLMs), Node.js, Python, React.js, Typescript Budget: ₹750 - ₹1250 INR
21-May-2026 16:01 GMT
Precision RF Signal Location Category: Data Analysis, Electrical Engineering, Electronics, Engineering, Network Security, Signal Processing, Surveillance, Wireless Budget: $250 - $750 USD
3D Airport Models for Simulation Category: 3D Animation, 3D Architecture, 3D Design, 3D Graphic Design, 3D Modelling, 3D Rendering, 3D Visualization, 3ds Max, Blender, SketchUp Budget: £20 - £250 GBP
21-May-2026 15:58 GMT
PowerPoint Medical Lectures for Students Category: Article Writing, Content Creation, Education & Tutoring, Ghostwriting, Graphic Design, Medical Writing, Powerpoint, Visual Design Budget: $15 - $25 USD
21-May-2026 15:58 GMT
Bulk List Upload & Configuration Category: Data Analysis, Data Cleansing, Data Entry, Data Integration, Data Management, Data Processing, Excel, Telemarketing Budget: $10 - $30 USD