Archive for December, 2009

Custom buttons on your ebay templates

December 29th, 2009

Want to use custom buttons on your listing template, such as watch this item and mail a friend, Well the main problem doing is that both these links require the ebay item number,

Of course this is not available to you when you are listing the item, but I have a found a quick fix for this.

While looking at the source code of a ebay listing, I noticed that the ebay had defined the varible ebayItemID

So with a bit of javascript you can now duplicate the functionality of the ebay share and ask a question links, in a matter of fact eBay have made it even easier as there is a varible definde ebayAskSellerURL that is the complete url to the ask a seller a question feature

for example

document.write("<a href=""+ ebayAskSellerURL+"">Question</a>");