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.
Longform Video Editor for YouTube Category: After Effects, Sound Design, Video Ads, Video Editing, Video Post Editing, Video Production, Video Services, YouTube Budget: $10 - $30 USD
22-Jul-2025 04:04 GMT
Webengage Retention Journey Setup Category: A / B Testing, Analytics, Customer Experience, Customer Retention, Data Analysis, Digital Marketing, Email Marketing, Marketing Strategy Budget: ₹1500 - ₹12500 INR
22-Jul-2025 04:02 GMT
Responsive Header Menu Design Category: Branding, CSS, Graphic Design, HTML, UI / User Interface, User Interface / IA, UX / User Experience, Web Design, WordPress Budget: ₹600 - ₹1500 INR
22-Jul-2025 04:02 GMT
Excel Data Entry Specialist Category: Data Analysis, Data Entry, Data Management, Data Processing, Data Visualization, Excel, Microsoft Office, Visual Basic Budget: $10 - $30 USD
22-Jul-2025 04:00 GMT
Professional Introduction Video Editing Needed Category: A / V Editing, Adobe Premiere Pro, Audio Services, Final Cut Pro, Video Editing, Video Production, Video Services, Voice Over Budget: ₹100 - ₹400 INR
Recover Deleted Facebook Content Category: Data Protection, Digital Forensics, Facebook Development, Investigation, Social Media Management Budget: $250 - $750 USD
Power BI Expert Needed Category: Analytics, Data Analysis, Data Modeling, Data Visualization, Power BI, SPSS Statistics, Statistical Analysis, Statistics Budget: $10 - $30 USD
22-Jul-2025 03:55 GMT
iMessages Recovery from iTunes Backup Category: Computer Support, Data Management, IOS Development, IPad, IPhone, Mobile App Development, Objective C, Technical Support Budget: $250 - $750 USD
22-Jul-2025 03:54 GMT
Palm Scan Web-Based Application Category: Animation, API Development, Backend Development, Frontend Development, Image Processing, JavaScript, Python, Web Development Budget: $30 - $250 USD
22-Jul-2025 03:52 GMT
EDM Production on GarageBand Category: Audio Editing, Audio Engineering, Audio Production, Audio Services, GarageBand, Music, Music Production, Sound Design Budget: $30 - $250 USD
22-Jul-2025 03:49 GMT
High DA Guest Post Backlinks Needed Category: Blog Writing, Content Marketing, Content Writing, Digital Marketing, Internet Marketing, Link Building, Marketing, SEO Budget: $10 - $30 AUD
22-Jul-2025 03:49 GMT
JavaScript Backend & AI Integration Category: API Development, Backend Development, HTML, JavaScript, MySQL, Natural Language Processing, PHP, SQL Budget: £250 - £750 GBP