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.
Conversion-Boosting Google Ads Management Category: Digital Marketing, Google Ads, Google Adwords, Google Analytics, Internet Marketing, Keyword Research, PPC Marketing, SEO Budget: ₹1500 - ₹12500 INR
Finance Budget Planner Mobile App Category: Android, Cloud Computing, Flutter, IPhone, Mobile App Development, Mobile App Testing, React Native, UI / User Interface Budget: $250 - $750 USD
05-Dec-2025 05:00 GMT
Under One Minute Video Edit Category: Adobe Premiere Pro, After Effects, DaVinci Resolve, Final Cut Pro, Motion Graphics, Video Editing, Video Production, Video Services Budget: ₹1500 - ₹12500 INR
05-Dec-2025 04:59 GMT
EdTech Trainers for Software & IT Courses (Part-Time) Category: Artificial Intelligence, Cloud Computing, Data Engineer, Data Science, Digital Marketing, Education & Tutoring, Machine Learning (ML), Mobile App Development, Software Development, Training Budget: ₹8000 - ₹15000 INR
Modern Minimalist Text Logo Design Category: Adobe Illustrator, Branding, Creative Design, Graphic Design, Illustration, Logo Design, Photoshop, Typography, Vector Design, Visual Design Budget: $10 - $30 USD
05-Dec-2025 04:55 GMT
Interactive Mapping Website Development Category: API Development, Backend Development, Data Visualization, Database Management, Frontend Development, Google Maps API, JavaScript, PHP, Web Application, Web Development Budget: $30 - $250 USD
I need a career agency Category: 3D Design, 3D Rendering, Contract Management, Creative Writing, Email Marketing, Graphic Design, Lead Generation, Market Research, Portfolio Management, Social Media Marketing Budget: $10 - $30 USD