Skip to Main Content
Amazon Hacks
book

Amazon Hacks

by Paul Bausch
August 2003
Intermediate to advanced content levelIntermediate to advanced
304 pages
7h 33m
English
O'Reilly Media, Inc.
Content preview from Amazon Hacks

Add Items to a Wish List Remotely

A simple HTML form allows your visitors to add items you mention to their own wish lists.

If you list items on your own web site and you’d like to let people add them to their Amazon wish lists with the click of a button, you can do this with a simple HTML form.

To set up the form, you need to know a product’s ASIN [Hack #1] and (optionally) an Amazon associate tag Section 5.2.

<form method="POST" [RETURN]
    action="http://www.amazon.com/o/dt/assoc/handle-buy-box=insert ASIN ">
<input type="hidden" name="asin.insert ASIN" value="1">
<input type="hidden" name="tag-value" value="insert associate tag"> 
<input type="hidden" name="tag_value" value="insert associate tag">
<input type="submit" name="submit.add-to-registry.wishlist"[RETURN]
       value="Add to Amazon.com Wish List">
</form>

Just fill in the ASIN and affiliate tag in the code and include it on any web page. If someone has the Amazon identity cookie or is logged in, the item will be added directly to their wish list when they click the button. Otherwise, they’ll be required to sign in at Amazon before the item is added.

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

From ChatGPT to HackGPT: Meeting the Cybersecurity Threat of Generative AI

From ChatGPT to HackGPT: Meeting the Cybersecurity Threat of Generative AI

Karen Renaud, Merrill Warkentin, George Westerman
Incident Metrics in SRE

Incident Metrics in SRE

Stepan Davidovic

Publisher Resources

ISBN: 0596005423Supplemental ContentCatalog PageErrata