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
Engaging Marketing Video Script
Category: Article Writing, Content Writing, Creative Writing, Ghostwriting, Marketing, Script Writing, Video Editing, Video Production
Budget: €30 - €250 EUR
03 Jul 2025 10:01 GMT
Azure AI Foundry Training
Category: Azure, Azure OpenAI, Microsoft Azure
Budget: ₹750 - ₹1250 INR
03 Jul 2025 10:01 GMT
Versatile Website Development
Category: Content Management System (CMS), Graphic Design, PHP, Web Design, Web Development
Budget: $10 - $30 USD
03 Jul 2025 09:59 GMT
eLearning Graphic Designer Needed
Category: Adobe InDesign, Graphic Design, Illustration, Logo Design, Photoshop
Budget: ₹75000 - ₹150000 INR
03 Jul 2025 09:59 GMT
IT Document Translation to Chinese
Category: English (US) Translator, English Translation, Language Tutoring, Simplified Chinese Translator, Technical Documentation, Technical Translation, Traditional Chinese (Hong Kong), Translation
Budget: £2 - £5 GBP
03 Jul 2025 09:58 GMT
Lifestyle & Culture Magazine Feature Writer
Category: Article Writing, Content Creation, Content Writing, Copywriting, Editorial Writing, Ghostwriting, Journalism, Writing
Budget: £250 - £750 GBP
03 Jul 2025 09:57 GMT
French-speaking YouTube Video Editor Needed
Category: A / V Editing, Adobe Premiere Pro, Final Cut Pro, French Translator, Video Editing, Video Processing, Video Production, Video Services, YouTube, YouTube Video Editing
Budget: $10 - $30 USD
03 Jul 2025 09:56 GMT
HR Coordinator - 1 Week Work
Category: English Grammar, Resumes
Budget: ₹1000 - ₹1500 INR
03 Jul 2025 09:55 GMT
Travel Management System Development
Category: AI (Artificial Intelligence) HW / SW, API Development, Full Stack Development, Graphic Design, HTML, PHP, Web Development, Web Design
Budget: ₹37500 - ₹75000 INR
03 Jul 2025 09:55 GMT
Freelance Cold Email Specialist Wanted! (FOR apollo.io) (BID for what you are willing to work.)
Category: Data Entry, Email Handling, Internet Marketing, Leads, Telemarketing
Budget: $30 - $250 USD
03 Jul 2025 09:55 GMT
Rice Bag Content Creation
Category: Branding, Content Writing, Copywriting, Creative Writing, Ghostwriting, Marketing, Product Descriptions
Budget: ₹600 - ₹1500 INR
03 Jul 2025 09:55 GMT
Blockchain Real Estate Automation
Category: Blockchain, Java, PHP, Real Estate, Security, Smart Contracts, Software Architecture, Software Testing
Budget: $25 - $50 USD
03 Jul 2025 09:54 GMT
Website Redesign and Optimization
Category: Copywriting, HTML, JavaScript, MySQL, Web Development, Website Optimization
Budget: ₹1500 - ₹12500 INR
03 Jul 2025 09:54 GMT
Polish voice artist - MALE
Category: Audio Production, Audio Services, Audiobook, Music, Polish Translator, Voice Acting, Voice Over, Voice Talent
Budget: $2 - $8 USD
03 Jul 2025 09:54 GMT
Educational Material Typingg –PDFs to Words file
Category: Data Entry, Data Processing, Excel, PDF, Web Search
Budget: $250 - $750 USD
03 Jul 2025 09: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-2024
1001 Freelance Projects