Created
February 3, 2017 15:30
-
-
Save ericdfields/3d4ed9c7f7b559289a102207facd61a7 to your computer and use it in GitHub Desktop.
Add multiple items to an Amazon Cart with a single button
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
I've seen links around the web for a list of items and a single 'add to amazon cart' button. | |
I don't know how to do this more easily through an amazon-provided UI, but it seems that you can hack it together through URL params easy enough, like so: | |
https://www.amazon.com/gp/aws/cart/add.html?AssociateTag=your_tag&tag=your_tagQ&ASIN.1=B012NH05UW&Quantity.1=1&ASIN.2=B012M8LXQW&Quantity.2=1 | |
* ASINs are the string after /dp/ in amazon URLs. (amazon.com/dp/string_is_here) | |
* Add as URL params w/ incrementing identifiers and quantity couplets (ASIN.1, Quantity.1, ASIN.2, Quantity.2…) |
Very cool. A reminder to just put good stuff out into the world. Glad it was helpful!On Jul 24, 2023, at 7:26 PM, TimothyMalan ***@***.***> wrote:Re: ***@***.*** commented on this gist.I spent hours looking for a while to add multiple items from a list to my cart and this was the only solution I found that actually worked. Someone even made an extension that doesn't work at the moment.Thanks for the URL parameters solution stranger!—Reply to this email directly, view it on GitHub or unsubscribe.You are receiving this email because you authored the thread.Triage notifications on the go with GitHub Mobile for iOS or Android.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I spent hours looking for a while to add multiple items from a list to my cart and this was the only solution I found that actually worked. Someone even made an extension that doesn't work at the moment.
Thanks for the URL parameters solution stranger!