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
Integrated Multi-Media Commercial Production for Brand Launch
Category: 3D Animation, After Effects, Animation, Video Editing, Video Services
Budget: $5000 - $10000 USD
25 Feb 2025 05:26 GMT
Email Deliverability Expert Needed – Email setup
Category: Bulk Marketing, DNS, Email Handling, Email Marketing, SMTP
Budget: $30 - $250 USD
25 Feb 2025 05:03 GMT
Modern WordPress Manpower Consulting Site
Category: Graphic Design, HTML, PHP, Web Design, WordPress
Budget: $5000 - $10000 USD
25 Feb 2025 05:00 GMT
Medium Detail Sailboat 3D Printing Model
Category: 3D Animation, 3D Modelling, 3D Printing, 3D Rendering, Solidworks
Budget: $30 - $250 AUD
25 Feb 2025 04:59 GMT
Fashion Spree Expansion Media Release
Category: Article Rewriting, Article Writing, Content Writing, Copywriting, Proofreading
Budget: $30 - $250 AUD
25 Feb 2025 04:59 GMT
CRM Management & Data Entry
Category: CRM, Data Entry, Excel, Microsoft Access, PHP
Budget: $2 - $8 USD
25 Feb 2025 04:56 GMT
SEO Expert for Gaming Youtube Channel
Category: Facebook Marketing, Internet Marketing, Link Building, Marketing, SEO
Budget: ₹1500 - ₹12500 INR
25 Feb 2025 04:56 GMT
Profit-Optimized Horse Racing Betting Algorithm
Category: Algorithm, R Programming Language, SPSS Statistics, Statistical Analysis, Statistics
Budget: $10000 - $20000 AUD
25 Feb 2025 04:56 GMT
Fleet Management Optimization Consultant
Category: Logistics
Budget: $250 - $750 USD
25 Feb 2025 04:55 GMT
USPTO Patent Agent & Mechatronics Engineer Needed
Category: Electrical Engineering, Legal, Legal Research, Legal Writing, Patents
Budget: $30 - $250 USD
25 Feb 2025 04:54 GMT
Innovative Mobile Optimized Web Story Development
Category: CSS, HTML, HTML5, JavaScript, Web Design
Budget: ₹12500 - ₹37500 INR
25 Feb 2025 04:54 GMT
Interactive AI-Generated YouTube Video Creation
Category: ChatGPT AI Integration, JavaScript, Programming, Software Architecture, YouTube
Budget: $30 - $250 USD
25 Feb 2025 04:53 GMT
Level 2 Tech Support Agent Needed
Category: Customer Service, Customer Support, Linux, Technical Support, Virtual Machines
Budget: $30 - $250 USD
25 Feb 2025 04:53 GMT
Application Form Data Entry
Category: Data Entry, Data Processing, Excel, Microsoft Access, PDF
Budget: ₹100 - ₹400 INR
25 Feb 2025 04:50 GMT
Custom Wake-Up Words Recording
Category: English (US) Translator, Spanish Translator, Translation
Budget: $30 - $250 USD
25 Feb 2025 04:49 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