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.
Cálculo Estructura WC Grúa Category: Building Information Modeling, Construction Engineering, Construction Management, Design Optimization, Engineering Drawing, Finite Element Analysis, Mechanical Engineering, Project Management, Structural Engineering, Technical Documentation Budget: €30 - €250 EUR
18-Nov-2025 16:55 GMT
Realistic AI Campaign Imagery Category: AI Art Creation, AI Content Creation, AI Design, AI Image Editing, AI Generated Art, Graphic Design, Illustration, Logo Design, Midjourney, Photoshop Budget: $30 - $250 USD
18-Nov-2025 16:54 GMT
Diseñador Gráfico para Publicidad Digital Category: Photoshop, AI Design, Animation, Graphic Design, Logo Design, Motion Graphics, Video Ads, Video Editing, Video Services Budget: €12 - €18 EUR
Traditional Home Interior Design Category: 3D Modelling, 3D Rendering, Building Architecture, Furniture Design, Home Design, Interior Design, Mood Board Budget: £10 - £20 GBP
18-Nov-2025 16:49 GMT
Pobranie i upload PDF Category: Admin Support, Data Entry, Data Management, Data Processing, Excel, PDF, Web Scraping, Web Search Budget: $30 - $250 USD
18-Nov-2025 16:49 GMT
Corporate Business Website Development Category: CSS, HTML, Java, PHP, Python, Web Development, Web Design, Website Optimization Budget: ₹12500 - ₹37500 INR
18-Nov-2025 16:48 GMT
I need someone to remove the lines on my bed Category: Design Optimization, Furniture Assembly, Furniture Design, Furniture Removal, Home Design, Interior Design, Metal, Project Management, Sewing, Textile Engineering Budget: £10 - £20 GBP
California Academy Emergency Paging System Category: A / V Systems, Broadcast Engineering, Compliance, Network Engineering, Project Planning, Risk Management, Signal Processing, Technical Documentation, Technical Support, User Experience Research Budget: $250 - $750 USD
18-Nov-2025 16:48 GMT
AI Customer Service Automation Category: AI Chatbot Development, Android, API Integration, Chatbot, Java, Natural Language Processing, PHP, Software Testing Budget: €30 - €250 EUR
TÜV-Kommunikation für strukturelle Umbauten Category: Article Writing, Building Regulations, Civil Engineering, Construction Management, German Translator, Project Management, Research Writing, Translation Budget: min €36 EUR