1001 Freelance Projects
Latest Projects from Freelance Marketplaces
Today is: 01-May-2025 04:09 GMT
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
Realistic 3D House Exterior & landscape design with 360° Video 30-Apr-2025
20:54 GMT
Looking for an Experience App developer 30-Apr-2025
20:15 GMT
Convert Dropbox file to a court ready legal bundle. 30-Apr-2025
19:41 GMT
Shipping plugin APIs on WeeCommerce shop 30-Apr-2025
18:56 GMT
Medical & Veterinary school address gathering and research 30-Apr-2025
18:55 GMT
Email verification and prioritization 30-Apr-2025
18:50 GMT
Administrative / PA Support USA 30-Apr-2025
18:37 GMT
Senior Software Engineer, Workspaces - Europe (Remote) 30-Apr-2025
18:37 GMT
I need a PDF document - Fire RIsk Assessment amended 30-Apr-2025
18:28 GMT
Require drawings for a church conversion 30-Apr-2025
18:28 GMT
I need a remote property manager 30-Apr-2025
17:42 GMT
Someone to build n8n workflows for data analysis 30-Apr-2025
17:42 GMT
Remote Chat Sales (Non-Voice) – Ph & Serbia Only 30-Apr-2025
17:29 GMT
I will like a logo for my start up business 30-Apr-2025
17:28 GMT
Cash flow and Profit and Loss Projection 30-Apr-2025
17:12 GMT
Browse All Projects
Projects by Skills ...
Projects for 'android'
Projects for 'ajax'
Projects for 'asp'
Projects for 'aspnet'
Projects for 'cms'
Projects for 'cpp'
Projects for 'csharp'
Projects for 'css'
Projects for 'delphi'
Projects for 'design'
Projects for 'drupal'
Projects for 'excel'
Projects for 'facebook'
Projects for 'flash'
Projects for 'html'
Projects for 'java'
Projects for 'javascript'
Projects for 'joomla'
Projects for 'iphone'
Projects for 'mysql'
Projects for 'photoshop'
Projects for 'php'
Projects for 'python'
Projects for 'ruby'
Projects for 'seo'
Projects for 'sql'
Projects for 'sysadm'
Projects for 'translate'
Projects for 'typing'
Projects for 'twitter'
Projects for 'vbnet'
Projects for 'xml'
Projects for 'wordpress'
Projects for 'writing'
Read RSS feeds ... New!
RSS feed for 'android'
RSS feed for 'ajax'
RSS feed for 'asp'
RSS feed for 'aspnet'
RSS feed for 'cms'
RSS feed for 'cpp'
RSS feed for 'csharp'
RSS feed for 'css'
RSS feed for 'delphi'
RSS feed for 'design'
RSS feed for 'drupal'
RSS feed for 'excel'
RSS feed for 'facebook'
RSS feed for 'flash'
RSS feed for 'html'
RSS feed for 'java'
RSS feed for 'javascript'
RSS feed for 'joomla'
RSS feed for 'iphone'
RSS feed for 'mysql'
RSS feed for 'photoshop'
RSS feed for 'php'
RSS feed for 'python'
RSS feed for 'ruby'
RSS feed for 'seo'
RSS feed for 'sql'
RSS feed for 'sysadm'
RSS feed for 'translate'
RSS feed for 'typing'
RSS feed for 'twitter'
RSS feed for 'vbnet'
RSS feed for 'xml'
RSS feed for 'wordpress'
RSS feed for 'writing'
New!
Проекты на русском
(Projects in Russian)

Long URL:
www.1001freelanceprojects.com
Mobile version:
m.1001fp.com
Copyright © 2005-2024 1001 Freelance Projects