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
    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. – Glenn Strycker Apr 21 '15 at 22:30
8

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.

  • 7
    6 years and this feature still doesn't exist? – Coburn Sep 21 '16 at 0:57
  • 5
    7 years and this feature still doesn't exist... – wlraider70 Aug 16 '17 at 1:43
  • 5
    8 years and this feature still doesn't exist...? – John Bachir Apr 20 '18 at 2:27
  • 3
    9 years and this feature still doesn't exist... – reefine Mar 4 at 18:40
  • 10 years and this feature still doesn't exist...? – the_storyteller Aug 19 at 20:34
2

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.

  • 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 at 15:28

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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