Free eBay Store and WordPress Plugin

I’ve been fooling around with the WordPress Plugin API, and I decided to take a stab at putting together a free eBay Store plugin. An eBay store is a great way to make some extra income with your blog or website, and you don’t even have to directly sell anything. You will make commissions on any eBay fees you generate.

For instance, let’s say you have a photography blog and you are writing a review for the Canon Rebel XSi. You can use my free eBay store WordPress plugin to display relevant products right in the post! Here is the code you would place into your post (put it all on one line):

[ebay campaignid="5336304844" keywords="canon rebel xsi" rows="3" columns="1"]

And here is what your store would look like:

[ebay campaignid="5336304844" keywords="canon rebel XSi" rows="3" columns="1"]

If you have many posts on your blog that discuss many products, you may wish to set up entire pages dedicated to relevant products. You can even place multiple stores on the same page for different keywords.

I’ve seen some products out there similar to my plugin (such as BANS), but they are not free. If they are free, then they want you to sign up for mailing lists and bombard you with solicitations via email. Why am I willing to give this away for free, when there are others charging for similar eBay stores?

Well, for one thing, people love free. It makes it easy to try something out when there is little or no risk involved. I’m confident that because my plugin is free, I’ll have many more takers than I would if I were to charge for it. I want my free eBay store plugin to become the plugin everyone uses for their blog’s eBay store. Making it free is essential for that to happen.

So what’s the catch? Two simple things I think you can probably live with:

  • As you may have already noticed, the store displays a link back to this page. This will help to spread the word about this great plugin so that many others can also take advantage of it.
  • Your campaign ID will used 90% of the time, and 10% of the time it will be my campaign ID. This will allow me to be compensated for my efforts, and help me spend more time making even more great plugins.

So how do you get started? First you need to sign up as an eBay affiliate for free. Once you’re signed up or if you’re already signed up, create a new campaign to use with your free eBay store. Then download, install, and activate the WordPress plugin.

Download the Plugin

Once you’ve activated the plugin, write up a post or page where you wish to display an eBay store. Then, enter the proper code to display a store (put it all on one line):

[ebay campaignid="YOUR-CAMPAIGN-ID" keywords="YOUR-STORE-KEYWORDS" rows="NUMBER-OF-ROWS-YOU-WANT-TO-DISPLAY" columns="NUMBER-OF-COLUMNS-YOU-WANT-TO-DISPLAY" pagination="yes" vertical="yes"]

campaignid and keywords are required parameters. Use spaces between the keywords, and if you want to exclude a word, prefix it with a minus (-). columns and rows are optional, and the store plugin will default to 2 columns x 5 rows (10 items in total). The maximum total product display is limited to 25 products.

The pagination and vertical parameters are also optional. The pagination parameter will allow the display of multiple pages of products when set to yes. You can see this demonstrated on my free eBay Store demo page. Setting the vertical parameter to yes will display the item info below the image, rather than to the right of it.

The plugin also comes with a widget, if you would like to display ebay Products within a widget. This would allow you to display advertisements for eBay items on every page on your blog. To use it, just log into your WordPress blog, go to Appearance > Widgets and add the Free eBay Store widget. The sidebar widget uses the vertical parameter to display the item information below the image.

Don’t forget to supply your eBay campaign ID and the keywords you want for the products displayed in your widget. If you want, you can display different types of products at random. To do this, use multiple sets of keywords and separate them with a pipe character (|). For example, to display teddy bears and inflatable pools, you enter teddy bear|inflatable pool as the keywords. The widget will select the pipe-separated keywords at random.

If you don’t have a blog, but you have access to a scripting language (such as PHP) on your host provider, feel free to use the following URL to access the store as a pseudo-service:

And of course, you need to replace the campaignid, rows, columns, and keyword parameters accordingly. The output is just regular HTML. For instance, to display a 3 x 4 store for products to make money online in PHP, you would use the following line of PHP code:

echo file_get_contents(""); And your store will be displayed right on the line within the webpage where you supply the code. If you want to reformat the display of the store on either your blog or a webpage, just enclose the store within a <div> HTML tag, and set the formatting for that div however you like.

Let me know if you encounter any bugs, have any questions, or have any suggestions on how I might be able to improve the free eBay Store. Enjoy!

About GeekLad

Geeklad is a technology enthusiast and programming hobbyist. Occasionally he will put together useful little bits of code (be it JavaScript or PHP) and share them with the world. He also enjoys creating and sharing howtos, describing how to do the things people want to do with their computers.
Tagged , , . Bookmark the permalink.
  • Free Games

    I have just read this.. I don't know about this plugin before. Thank you so much!^^ You are so nice for creating this and share it for free… I think I will give this a try…

  • Peg

    I don't want to display certain types of products, I want to display the products that say, 10 different people are selling on ebay, each on a different page, will this work for that? can I search for their ebay user name?

  • GeekLad

    No, unfortunately it grabs products from all sellers. Perhaps in a future release, I may add an option to limit the results to certain sellers.

  • build a niche store

    Great tutorial. I’ve been searching for this plugin. Very helpful.

  • Steve


    Is there any way to remove the 'right now on ebay' logo, as it creates a lot of blank white space on the page above the fold?



  • GeekLad

    No, unfortunately due to eBay's terms, I need to keep the logo in there.

  • Chris Gray

    I was just reading another plugin that does much the same thing, and the guy got banned for using a 5% “revenue sharing” model much like your own, as it supposedly broke one of the terms of service.

    Thought I'd let you know so you could check into it before anything happened to you.

  • Gerry

    Great plugin. Seems to work fine in wordpress 3.0.1 I hope you make a lot of money from me because that will mean I'm making a lot ! Allow me one small niggle, is there a way on the widget to display items that don't only have 3 seconds to go!

  • Gerry

    Great plugin. Seems to work fine in wordpress 3.0.1 I hope you make a lot of money from me because that will mean I'm making a lot ! Allow me one small niggle, is there a way on the widget to display items that don't only have 3 seconds to go!

  • Pingback: Make Money With Ebay WordPress Plugin

  • Anonymous

    nice to hear you a good.

  • Submit Your Web

    Thanks for the pugin will give it a try

  • Pingback: Lego Star Wars Review Set 8019 Republic Attack Shuttle | Top Christmas Toys 2012

  • Pingback: Lego Star Wars Review Set 7676 Republic Attack Gunship | Top Christmas Toys 2012