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
Google News SEO Audit & Fix
Category: Analytics, Content Strategy, Internet Marketing, Keyword Research, Link Building, Marketing, SEO, Web Development, Website Optimization, WordPress
Budget: $30 - $250 USD
22 Dec 2025 17:04 GMT
Finalize Laravel-Flutter App Launch
Category: Android, Android App Development, App Store Optimization, Flutter, IOS Development, IPhone, Laravel, PHP
Budget: $30 - $250 USD
22 Dec 2025 17:03 GMT
SAAS Analytics Dashboard Development
Category: Figma, Graphic Design, SaaS
Budget: ₹12500 - ₹37500 INR
22 Dec 2025 17:03 GMT
Female Portuguese Fashion Storytellers
Category: Automation, Data Entry, Google Sheets, Scripting
Budget: $15 - $25 USD
22 Dec 2025 17:02 GMT
Sales Content for Digital Products
Category: A / B Testing, Content Writing, Copywriting, Digital Marketing, Ghostwriting, Product Descriptions, Product Design, Protoshare, Report Writing, SEO
Budget: ₹750 - ₹1250 INR
22 Dec 2025 17:02 GMT
Modern Icon Logo Design
Category: Adobe Illustrator, Affinity Designer, Figma, Graphic Design, Icon Design, Illustration, Logo Design, Vector Design
Budget: ₹400 - ₹750 INR
22 Dec 2025 17:01 GMT
Abysius VR Demo
Category: 3D Art, Graphic Design
Budget: $10 - $30 USD
22 Dec 2025 17:01 GMT
Informative Website Content Writer
Category: Article Writing, Blog Writing, Content Writing, Copywriting, Creative Writing, Editing, Ghostwriting, Technical Writing
Budget: $10 - $30 USD
22 Dec 2025 16:59 GMT
Rebranded Marketing PowerPoint Design
Category: Branding, Corporate Identity, Creative Design, Graphic Design, Logo Design, Marketing, Powerpoint, Visual Design
Budget: $30 - $250 USD
22 Dec 2025 16:59 GMT
Digital Asset Trader
Category: Accounting, Blockchain, Compliance, Cryptocurrency, Finance, Financial Consulting, Investment Management, PHP, Risk Management, Software Testing
Budget: $5000 - $7000 USD
22 Dec 2025 16:59 GMT
Modern Print Materials Design
Category: Adobe Illustrator, Photoshop, Brochure Design, Flyer Design, Graphic Design, Illustration, Print Design
Budget: $30 - $250 USD
22 Dec 2025 16:56 GMT
Création Site Marchand en français
Category: CSS, ECommerce, HTML, Payment Gateway Integration, PHP, Shopify, Web Development, Web Design, WooCommerce, WordPress
Budget: €30 - €250 EUR
22 Dec 2025 16:55 GMT
In-Home Bengali/Urdu Interpreter - 22/12/2025 11:53 EST
Category: Bengali Translator, Customer Service, Hindi Translator, Language Tutoring, Public Speaking, Translation, Urdu Translator, Voice Over, Voice Talent
Budget: £250 - £750 GBP
22 Dec 2025 16:54 GMT
Professional PDF Resume Generator
Category: Desktop Application, Graphic Design, HTML, JavaScript, PDF, PHP, Vue.js, Web Development
Budget: €750 - €1500 EUR
22 Dec 2025 16:53 GMT
CNC Acrylic Parts Fabrication -- 2
Category: CAD / CAM, CNC, CNC Programming, Manufacturing, Mechanical Engineering, Product Design, Prototyping, Solidworks
Budget: $8 - $15 USD
22 Dec 2025 16:53 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-2025
1001 Freelance Projects