skip to Main Content

Does anybody know if you can have a search input on an Ebay listing? I’m not talking about an Ebay Shop as I know you can for them.

2

Answers


  1. Absolutely!

    And here are a few fine examples just to prove the point:

    Here’s a good example. Note that you must replace http://stores.ebay.com/storeId/ with your own shop URL.:

    The below should be placed inside of your template source:

    <form action="http://stores.ebay.com/storeId/" target="_blank">
       <input name="_nkw" placeholder="Search by brand or keyword...">
       <input type="submit" value="Search">
    </form>
    

    Also note that target="_blank" is vital, otherwise the listing, which eBay houses within an iframe, will continue to reload within the iframe.

    Login or Signup to reply.
  2. Here is something you can work with just change the store name

    <div id="SearchBox"><form action="http://stores.ebay.com/STORENAME/" id="ga_search" target="_top" style="padding-top: 54px;">
                <input type="text" style="width: 205px; height:40px; display: block; float:left;border: none;outline: none;background: transparent;padding-left: 20px;font-size: 18px;" class="searchbox" name="_nkw" value="">
                <input name="Submit" type="submit" style="height:40px; display: block; border-style: none; float:left; background: none; cursor: pointer;padding:10px 22px;" class="searchbox_submit" value=" "></form>
    </div>
    
    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search