[ Team LiB ] Previous Section Next Section

Hack 19 Add Items to a Wish List Remotely

figs/moderate.giffigs/hack19.gif

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.

    [ Team LiB ] Previous Section Next Section