1001 Freelance Projects
Latest Projects from
Freelance Marketplaces
View Project
View this project in detail
(Note: you will be redirected to external marketplace)
Project title:
Custom JS to add products to Woocommerce One Page Checkout
Posted by:
External project from PeoplePerHour
Started:
17-Feb-2025 13:38 GMT
Description:
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.
Project ID:
3422335
Project category:
Project budget:
View this project in detail
(Note: you will be redirected to external marketplace)
Last Projects / Browse Projects
  Project Started
Desain Logo Klasik dan Elegan
Category: Branding, Creative Design, Graphic Design, Illustration, Logo Design, Photoshop, Typography
Budget: $10 - $30 USD
12 Oct 2025 16:03 GMT
Social Media Ad Campaign Specialist
Category: Advertising, Content Creation, Digital Marketing, Facebook Marketing, Instagram Marketing, Internet Marketing, Lead Generation, Social Media Marketing
Budget: £20 - £250 GBP
12 Oct 2025 16:03 GMT
Crypto Forward Tester Development -- 2
Category: Algorithm, API Integration, Cryptocurrency, Excel, Software Architecture, Software Testing, Test Automation, Testing / QA
Budget: ₹600 - ₹1500 INR
12 Oct 2025 16:03 GMT
Text Document Formatting Adjustments
Category: Document Checking, Format And Layout, Graphic Design, Microsoft Word, PDF, Proofreading, Typography, Word
Budget: $10 - $30 USD
12 Oct 2025 16:03 GMT
Hyrox Race Motivation Signs
Category: Adobe Creative Cloud, Adobe Illustrator, Photoshop, Graphic Design, Illustration, Logo Design, Poster Design, Sports Design
Budget: $250 - $750 USD
12 Oct 2025 16:01 GMT
Intense 3D Animation Storytelling Needed
Category: 3D Animation, 3D Design, 3D Model Maker, 3D Rendering, 3D Visualization, After Effects, Animation, Video Services
Budget: $250 - $750 AUD
12 Oct 2025 15:59 GMT
Local API for ZKTeco Attendance
Category: .NET, .NET Core, .NET Core Web API, C#, Programming, C++, Python, REST API, Software Architecture
Budget: $250 - $750 USD
12 Oct 2025 15:59 GMT
SEO Expert for Casino Backlinks
Category: Internet Marketing, Link Building, Marketing, SEO, SEO Auditing, SEO Writing
Budget: €8 - €40 EUR
12 Oct 2025 15:57 GMT
Translate Educational Museum Materials
Category: Academic Writing, Educational Research, English (US) Translator, Linguistics, Proofreading, Research Writing, Translation
Budget: $250 - $750 USD
12 Oct 2025 15:57 GMT
Conference Photographer Needed for Event
Category: Photo Editing, Photography
Budget: $750 - $1500 USD
12 Oct 2025 15:57 GMT
Minimalist Logo Creation
Category: Branding, Creative Design, Design, Logo Design, Photoshop, Typography, Visual Design
Budget: ₹600 - ₹1500 INR
12 Oct 2025 15:56 GMT
Digital Marketing for New Book
Category: Advertising, Content Creation, Digital Marketing, Facebook Marketing, Instagram Marketing, Internet Marketing, Social Media Marketing, Twitter Marketing
Budget: ₹1500 - ₹12500 INR
12 Oct 2025 15:56 GMT
Legal Assistance for Child Medical Neglect Case
Category: Employment Law, Family Law, Legal, Legal Assistance, Legal Consultation, Legal Research, Legal Writing
Budget: $250 - $750 USD
12 Oct 2025 15:55 GMT
Wardrobe Removal and Assembly
Category: Furniture Assembly, Furniture Removal, Handyman, Home Organization, IKEA Installation
Budget: £250 - £750 GBP
12 Oct 2025 15:55 GMT
AI-Driven Local Search Optimization
Category: AI (Artificial Intelligence) HW / SW, AI Content Creation, AI Content Editing, Brand Marketing, ChatGPT, Digital Marketing, Internet Marketing, Link Building, SEO, White Hat SEO
Budget: $30 - $250 USD
12 Oct 2025 15:55 GMT
Browse All Projects
Projects by Skills ...
android
ajax
asp
aspnet
cms
cpp
csharp
css
delphi
design
drupal
excel
facebook
flash
html
java
javascript
joomla
iphone
mysql
photoshop
php
python
ruby
seo
sql
sysadm
translate
typing
twitter
vbnet
xml
wordpress
writing
New!
Проекты на русском
(Projects in Russian)

Copyright © 2005-2024
1001 Freelance Projects