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 '15 at 22:30
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.

6
  • 8
    6 years and this feature still doesn't exist?
    – Coburn
    Sep 21 '16 at 0:57
  • 6
    7 years and this feature still doesn't exist...
    – wlraider70
    Aug 16 '17 at 1:43
  • 6
    8 years and this feature still doesn't exist...? Apr 20 '18 at 2:27
  • 4
    9 years and this feature still doesn't exist...
    – reefine
    Mar 4 '19 at 18:40
  • 1
    10 years and this feature still doesn't exist...? Aug 19 '19 at 20: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 '18 at 0:19
  • @cowbert you could have edited the answer...
    – beppe9000
    Jul 8 '19 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 '20 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.