15

For example I created a wish list of the books needed for my fall classes.

Is there a one click (or other short/easy) way to add all the items into my cart other than clicking on "Add to Cart" for each individual item?

1
  • 1
    Is there a way to do the opposite? My shopping cart is completely full (the "buy later" bin) over years of moving things and accumulating products I like. I'd like to transfer these ALL to a wishlist, but clicking on each individual product and selecting a wishlist could take hours. I need to have a script do this all-at-once. Apr 21, 2015 at 22:30

3 Answers 3

9

There doesn't appear to be a way to do this other than by scripting.

This seems like a good suggestion to put to Amazon though.

8
  • 10
    6 years and this feature still doesn't exist?
    – Cobertos
    Sep 21, 2016 at 0:57
  • 8
    7 years and this feature still doesn't exist...
    – wlraider70
    Aug 16, 2017 at 1:43
  • 8
    8 years and this feature still doesn't exist...? Apr 20, 2018 at 2:27
  • 6
    9 years and this feature still doesn't exist...
    – reefine
    Mar 4, 2019 at 18:40
  • 4
    12 Years and this feature still doesn't exist....?
    – Luca C.
    Jan 6, 2022 at 10:34
1

Try this script:

Array.prototype.forEach.call(document.querySelectorAll('[data-action=reg-item-inline-order]'), function(e) { setTimeout(function() { e.click() }, 100) })

The selector may have to change in the future, but this worked for me.

3
  • yeah currently the value for data-action is add-to-car'. data-add-to-cart` has the item's metadata in it, which is super useful (you can parse price and stuff out of the string).
    – cowbert
    Aug 27, 2018 at 0:19
  • @cowbert you could have edited the answer...
    – beppe9000
    Jul 8, 2019 at 15:28
  • This no longer works, and it didn't work. Note that some of the main yellow buttons on list items are, for me, 'Buy now with 1-click' instead of 'Add to Cart'. I also tried this and it didn't work (it seemed to push one button and took me to another page): Array.prototype.forEach.call(document.querySelectorAll('a[role=button]'), function(e) { if(e.innerHTML.trim()=="Add to Cart") { setTimeout(function() { e.click() }, 100) } })
    – Raffi
    Dec 16, 2020 at 18:02
1

Seems like I ran into the same issue a few days ago. Made a thing that helps as browser extension. Try it out, let me know your thoughts? Thanks! https://chrome.google.com/webstore/detail/wishlist-to-cart-for-amaz/hcidhephpgibbomfkllaaebnlokpemim?hl=en-US

Not the answer you're looking for? Browse other questions tagged or ask your own question.