Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

145
Views
update multiple items to Shopify cart with one click

how to update multiple items at once in ajax I have got these IDs and quantity to update I have 5 IDs and their quantity I want to update them all at one click Here is my code i dont know how to combine these Ids and quantity into one variable so I can update

ID 39470423048307 quantity 0 ID 32164693278835 quantity 0 ID 32164693835891 quantity 0 ID 32164692328563 quantity 2

how to use jQuery.post('/cart/update.js', {updates: {794864053: 0, 794864233: 0}});

   var  multiple_products = " code which can combine all IDs and qunatity values"
    
    $.ajax({
    type: 'POST',
    cache:false,
    url: '/cart/change.js',
    data: multiple_products,
    dataType: 'json',
    success: function () {
    console.log("success ");
    

}, 
});

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!