phpBay Pro Tips

Tips to make money on the Ebay Publisher Network using phpBay
September 11th, 2008

Make your entire phpBay pro auction listing clickable

Here is an old tip that was posted by Radio on WickedFire forums a while back. It’s a great trick to get your entire phpbay auction cell (for column auctions) and row (for standard display auctions) clickable.

By default, only the item title is clickable. But by using this javascript trick we will make the whole thing a link. That should help you get more clicks on your auctions and will help those confused people who click on images or other pats of your phpBay auctions that aren’t links.

(Note: The way this wordpress theme displays code is a little messed up. In order for the code below to your you need to paste it into Notepade, and to a replace all for quotation marks. That will get rid of the “curly” quotes).

Javascript code for column phpbay auctions

All you have to do is open the file called template.column.results.html (wp-content > plugins > phpbay > templates > template.column.results.html)

Replace the entire file with this:

<td style=”word-wrap: break-word;border: 1px solid #eeeeee;font-size:12px;” onclick=”window.open(’%%link_url%%’);” onmouseover=”this.style.cursor=’pointer’; this.style.cursor=’hand’; style.backgroundColor=’%%hover%%’;” onmouseout=”style.backgroundColor=’#ffffff’;” width=”300″ align=”center” bgcolor=”#ffffff”><noscript> <a rel=”nofollow” href=”%%link_url%%” target=”_blank”></a></noscript><a rel=”nofollow” href=”%%link_url%%” target=”_blank”> <img src=”%%image%%” border=”0″ alt=”%%alt_title%%” /> <strong>%%title%%</strong> </a><noscript></noscript> %%paypal%% %%currency%%%%price_or_bin%%</td> 

 

Javascript code for standard phpbay auctions

All you have to do is open the file called template.ebay.results.html (wp-content > plugins > phpbay > templates > template.ebay.results.html)

Replace the entire file with this:

<table style=”font-size:12px;” onclick=”window.open(’%%link_url%%’);” onmouseover=”this.style.cursor=’pointer’; this.style.cursor=’hand’; style.backgroundColor=’%%hover%%’;” onmouseout=”style.backgroundColor=’%%row%%’” border=”0″ cellspacing=”5″ cellpadding=”5″ width=”100%” bgcolor=”%%row%%”> <tbody> <tr> <td width=”100″ align=”left”><img src=”%%image%%” border=”0″ alt=”%%alt_title%%” /></td> <td style=”word-wrap: break-word;”>        <noscript><a rel=”nofollow” href=”%%link_url%%” target=”_blank”></a></noscript><a rel=”nofollow” href=”%%link_url%%” target=”_blank”>    <strong>%%title%%</strong>   </a>    <noscript></noscript> </td> <td width=”20″ align=”right”>%%paypal%%</td> <td width=”60″ align=”right”>%%bid_or_bin%%</td> <td width=”100″ align=”right”>%%currency%%%%price_or_bin%%</td> <td width=”80″ align=”right”>%%date%%</td> </tr> </tbody></table>   

 
Then just upload your changes and you’re done! Pretty easy, right?

Check out Radio’s blog: Rule One Blog!

Related Posts

5 Responses to “Make your entire phpBay pro auction listing clickable”

  1. Great Tip! – Well Worth digging up for a revival!

    Keep up the great info!

    A.

    http://ipodauctions.com.au

  2. Hi and thanks for the code, but I can’t get it to work for me. When I replaced the code, I got no pics… I can’t see why, but it didn’t work as I thought it would.

  3. Mack,
    People have had trouble in the past when copying code from this blog. Something is screwy with the code tags on this wordpress theme.

    If you are a member of wickedfire, both code spinets are on this thread:

    http://www.wickedfire.com/design-development-programming/34511-phpbay-make-entire-table-cell-link-code.html

    If you’re not a member, it’s worth registering. Just read the rules before you post :)

    Hope that helps…

  4. Good tip! But on my site this code not work perfectly:(

  5. Noticed you trying out a nice red “View Details” button on some of your auctions. I know you haven’t posted for awhile, but if you need something to post about, I’d love to hear about how that’s helping CTR and conversions. Wouldn’t mind hearing your experience with rows vs tables, either, or making the entire listing clickable vs. just images (noticed you had some auctions with just the button clickable).

Leave a Reply