Results 1 to 24 of 24
  1. #1
    ABW Ambassador Daniel M. Clark's Avatar
    Join Date
    January 7th, 2006
    Location
    Houston, TX
    Posts
    2,082
    Search boxes
    I'm new to promoting eBay, so bear with me

    I looked around the forums at eBay (and here) but didn't find anything conclusive.

    Is there a way to have search boxes? Simple, HTML search boxes? So when someone on my site doesn't see a listing they want, they can search eBay? I read that CJ used to have them.

    I also read that in the Creatives Generator section, there are some Flash items that have search boxes built-in. I don't want Flash, though, and I especially don't want the graphics they use. I just want a simple search box.

    Anyone?
    Daniel M. Clark
    Tech Manager
    Greg Hoffman Consulting

  2. #2
    ABW Ambassador Boom or Bust's Avatar
    Join Date
    February 3rd, 2008
    Posts
    3,955
    You can turn a search box on in the editor kit under widgets. I've never used it though. Perhaps set up a search using a non existent search term so there won't be any results. Make sure to mark "Show editor kit with no results" so the header with the search field still displays. Like I said, haven't tried it but I think it will work.



    X

  3. #3
    ABW Ambassador Boom or Bust's Avatar
    Join Date
    February 3rd, 2008
    Posts
    3,955
    You could also remove any search terms from the link you create so there will be no results.



    X

  4. #4
    Full Member GoColts's Avatar
    Join Date
    December 2nd, 2007
    Location
    Indianapolis, IN
    Posts
    380
    Right now may not be the best time to spend on promoting this program until things are back to steady--unless you enjoy migranes.

  5. #5
    ABW Ambassador Daniel M. Clark's Avatar
    Join Date
    January 7th, 2006
    Location
    Houston, TX
    Posts
    2,082
    I know there's been some drama around this lately, but the thing I'm using it for is pretty minor and hands-off. I'm not gearing up to be one of their top performers

    Boomers, thanks for the tips - after wrestling with it for a little while and throwing in my own css to override the bad code they generate, I was able to get it working. So, thanks
    Daniel M. Clark
    Tech Manager
    Greg Hoffman Consulting

  6. #6
    ABW Ambassador Boom or Bust's Avatar
    Join Date
    February 3rd, 2008
    Posts
    3,955
    Quote Originally Posted by GoColts
    Right now may not be the best time to spend on promoting this program until things are back to steady--unless you enjoy migranes.
    We're doing quite well with ePN right now. We're actively growing our campaign and EPC is running at 17.00 month to date. We track impressions and CTR is running at 67% for the month. We're on track to make triple the commissions we made last month which was our first full month on ePN. I wouldn't recommend holding back at all...



    X

  7. #7
    Full Member Amy_S's Avatar
    Join Date
    November 28th, 2007
    Posts
    341
    Daniel, that is a brilliant idea. It never occurred to me that I could use CSS to override their seriously icky code. I have a lot to learn!

    Boomers, glad you're having such great success. Congrats to you.

    Personally I am getting more frustrated with ebay with every passing day. GoColts is right, migrane city. Their program is getting leakier and leakier. Their search structure is more convoluted. Constructing links is now more time consuming for me than it ever has been before. A lot of my favorite sellers have entirely stopped selling on ebay. Selection is down, finding good stuff to promote in some of my (tiny) niches is harder. Plus I am not convinced that EPN tracking is accurate. I haven't completely stopped working with ebay, but I'm spending more of my time on other programs. I am seriously considering selling off my antiques and collectibles related sites and starting fresh with some other affiliate programs.
    Last edited by Amy_S; June 17th, 2008 at 06:05 PM.

  8. #8
    ABW Ambassador Daniel M. Clark's Avatar
    Join Date
    January 7th, 2006
    Location
    Houston, TX
    Posts
    2,082
    It's a trick I learned early on when I was coding premium shops at CafePress
    Daniel M. Clark
    Tech Manager
    Greg Hoffman Consulting

  9. #9
    Full Member Amy_S's Avatar
    Join Date
    November 28th, 2007
    Posts
    341
    Quote Originally Posted by HecticDMC
    It's a trick I learned early on when I was coding premium shops at CafePress
    Well, thanks for posting about it! DEFINITELY good to know.

  10. #10
    ABW Ambassador
    Join Date
    January 18th, 2005
    Location
    Sacramento, CA
    Posts
    1,263
    Does that search box "trick" enable you to put it anywhere? Or, does it take up a lot of space? Can you provide some sample code?
    Thanks
    Hi, I'm a signature.

  11. #11
    ABW Ambassador Daniel M. Clark's Avatar
    Join Date
    January 7th, 2006
    Location
    Houston, TX
    Posts
    2,082
    I can put it anywhere, yeah. First, in the stylesheet, I have this:

    #ebaySearch {
    color: #000000;
    margin-top: -40px;
    }
    #ebaySearch img {
    display: none;
    }

    That's for a DIV I've set up called ebaySearch, of course. In the sidebar of my site, I've got the code provided by eBay. It's really rather straightforward. It's that little img display code that makes things all better, because eBay's code uses spacer gifs to pad a rather unwieldy table. I tell the page not to display the spacers, so the table collapses fairly neatly. All I'm left with is a search box, pretty much. There's still some padding around the box, but I have no desire to get my hands dirty using CSS to utterly destroy the table, because I want some padding around the search box anyway.

    The negative margin trick is just for better positioning, and it may not be appropriate in other layouts other than mine.
    Daniel M. Clark
    Tech Manager
    Greg Hoffman Consulting

  12. #12
    ABW Ambassador
    Join Date
    January 18th, 2005
    Location
    Sacramento, CA
    Posts
    1,263
    Thank you! I'll give it a try

    I just realized something - won't that affect all editor kit implementations on a page? If I want a search box in the header of the site on every page & have the editor kit as the content, it won't work, will it?
    Hi, I'm a signature.

  13. #13
    ABW Ambassador Daniel M. Clark's Avatar
    Join Date
    January 7th, 2006
    Location
    Houston, TX
    Posts
    2,082
    That's why I wrapped that editor kit stuff in a uniquely named DIV. Only the code in the #ebaySearch DIV will be affected. If you had another instance of it in another DIV called, say, #ebaySearchSidebar, it wouldn't be affected.
    Daniel M. Clark
    Tech Manager
    Greg Hoffman Consulting

  14. #14
    ABW Ambassador Boom or Bust's Avatar
    Join Date
    February 3rd, 2008
    Posts
    3,955
    I was just thinking about the eBay search box question. You don't have to use the eBay editor kit. You can build a plain old [eBay affiliate] text link yourself with plain HTML and JavaScript, or ASP/PHP and just use the typed in contents of an HTML text field for the search terms. Then you could configure the thing however you want and keep the eBay logo from displaying too. In fact, think I'll create one for some of our site pages...



    X

  15. #15
    ABW Ambassador
    Join Date
    January 18th, 2005
    Location
    Sacramento, CA
    Posts
    1,263
    I can't get the DIV thing to work, but I have a javascript snippet I've used that may do what Boomers described...
    Hi, I'm a signature.

  16. #16
    ABW Ambassador Daniel M. Clark's Avatar
    Join Date
    January 7th, 2006
    Location
    Houston, TX
    Posts
    2,082
    I tried that, and couldn't get it to work for some reason
    Daniel M. Clark
    Tech Manager
    Greg Hoffman Consulting

  17. #17
    ABW Ambassador Boom or Bust's Avatar
    Join Date
    February 3rd, 2008
    Posts
    3,955
    The biggest issue would be the search terms themselves. You'd have to parse and process the entered search terms. There would be no spaces allowed in the link. Spaces would have to be converted to + - _ or %20 depending on the particular type of search. More complex searches by savvy users would require advanced parsing. The parsing code could become pretty complicated. JavaScript would be the most cumbersome to parse with but would work without the need for an intermediate linking page. To use PHP or ASP you would have to pass the search terms to a new page that would parse them and add them to the rover link and then immediately redirect to the eBay search results. It would happen so quick that the user wouldn't even detected it. ASP and PHP would be a lot easier to parse with than JavaScript.

    Well, I guess all this wouldn't be as easy as I imagined...



    X

  18. #18
    ABW Ambassador
    Join Date
    January 18th, 2005
    Location
    Sacramento, CA
    Posts
    1,263
    Hmmm... the javascript code I have is very simple (just a few lines) and worked, even w/ spaces. As far as I can tell, no parsing necessary...
    Hi, I'm a signature.

  19. #19
    ABW Ambassador Boom or Bust's Avatar
    Join Date
    February 3rd, 2008
    Posts
    3,955
    Can you post it? I'd like to see it...



    X

  20. #20
    ABW Ambassador
    Join Date
    January 18th, 2005
    Location
    Sacramento, CA
    Posts
    1,263
    Here it is... I've only tested it from my editor, not a live site, so if you give it a try, let me know if it still works. Also, I can't figure out why, if you hit Enter rather than clicking Submit, it refreshes the page instead of submitting the form. If you can tell me how to fix that, I'd appreciate it.

    Code:
    <script type="text/javascript" language="JavaScript">
    var FrontOfKeyword = "http://rover.ebay.com/rover/1/711-53200-19255-0/1?type=3&campid=XXXXXXXXX&toolid=10001&customid=&ext=&satitle=";
    function KeywordAccess(v) {
    location.href = FrontOfKeyword + v;
    return false;
    }
    //-->
    </script>
    <form>
    <input type="text" name="kw" size="15"><BR>
    <input type="submit" onclick="return KeywordAccess(this.form.kw.value);" value="Submit"><BR>
    </form>
    Hi, I'm a signature.

  21. #21
    ABW Ambassador Boom or Bust's Avatar
    Join Date
    February 3rd, 2008
    Posts
    3,955
    Here you are. This resolves hitting the Enter button.
    This script works good for regular auction searches. I need to test with some of the other specialized searches we use.

    <script type="text/javascript" language="JavaScript">
    var FrontOfKeyword = "http://rover.ebay.com/rover/1/711-53200-19255-0/1?type=3&campid=XXXXXXXXXX&toolid=10001&customid=&ext=&satitle=";
    function KeywordAccess(v) {
    location.href = FrontOfKeyword + v;
    return false;
    }
    </script>

    <form id=form1 name=form1 onSubmit="return KeywordAccess(this.form.kw.value);">
    <input type="text" name="kw" size="15"><BR>
    <input type="submit" onClick="return KeywordAccess(this.form.kw.value);" value="Submit" id=submit1 name=submit1><BR>
    </form>



    X

  22. #22
    ABW Ambassador
    Join Date
    January 18th, 2005
    Location
    Sacramento, CA
    Posts
    1,263
    Nice! Thank you

    It threw up an error when I tested it from the editor, but worked perfectly when I uploaded a test page... seems weird, but as long as it works on the live site, that's what matters...
    Hi, I'm a signature.

  23. #23
    Newbie
    Join Date
    December 1st, 2007
    Posts
    1
    Here's another one. I don't know if it's any better than anything else posted or not. It's something I found on google one day.

    Code:
    <script language="JavaScript1.1">
    <!-- 
    function redirectEnter(form){
     var eBayURL = 
    
    "http://rover.ebay.com/rover/1/711-53200-19255-0/1?type=3&campid=xxxxxxxxxx&toolid=10001&customid=";
     for (var i=0;i<form.elements.length;i++){
      var e = form.elements[i];
      if ((e.name === "query")){
       eBayURL += "&ext" + "=" + e.value + "&satitle" + "=" + e.value;
      }
     }
     parent.location = eBayURL;
    }
    // -->
    </script>
    <table width="70%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td><a 
    
    href="http://rover.ebay.com/rover/1/711-53200-19255-0/1?type=1&campid=xxxxxxxxxx&toolid=10001&cus
    
    tomid=" target="_blank"><img src="http://pics.ebay.com/aw/pics/ebay_logo_1.gif" width="80" 
    
    height="46" border="0" align="left"></a>
          <table border="0" cellpadding="0" cellspacing="0" height="46">
            <form action="http://search.ebay.com/search/search.dll" onsubmit="redirectEnter(this); 
    
    return false;" method="get">
              <tr>
                <td width="95%">
                  <input type="text" name="query" style="width:98%" maxlength="100" value=""></td>
                <td align=right>
                  <input type="submit" value="Search" name="submit">
                </td>
              </tr>
            </form>
          </table>
        </td>
      </tr>
    </table>

  24. #24
    Newbie
    Join Date
    May 10th, 2012
    Posts
    1
    Cool Ebay search box
    Quote Originally Posted by algae View Post
    Here's another one. I don't know if it's any better than anything else posted or not. It's something I found on google one day.

    Code:
    <script language="JavaScript1.1">
    <!-- 
    function redirectEnter(form){
     var eBayURL = 
    
    "http://rover.ebay.com/rover/1/711-53200-19255-0/1?type=3&campid=xxxxxxxxxx&toolid=10001&customid=";
     for (var i=0;i<form.elements.length;i++){
      var e = form.elements[i];
      if ((e.name === "query")){
       eBayURL += "&ext" + "=" + e.value + "&satitle" + "=" + e.value;
      }
     }
     parent.location = eBayURL;
    }
    // -->
    </script>
    <table width="70%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td><a 
    
    href="http://rover.ebay.com/rover/1/711-53200-19255-0/1?type=1&campid=xxxxxxxxxx&toolid=10001&cus
    
    tomid=" target="_blank"><img src="http://pics.ebay.com/aw/pics/ebay_logo_1.gif" width="80" 
    
    height="46" border="0" align="left"></a>
          <table border="0" cellpadding="0" cellspacing="0" height="46">
            <form action="http://search.ebay.com/search/search.dll" onsubmit="redirectEnter(this); 
    
    return false;" method="get">
              <tr>
                <td width="95%">
                  <input type="text" name="query" style="width:98%" maxlength="100" value=""></td>
                <td align=right>
                  <input type="submit" value="Search" name="submit">
                </td>
              </tr>
            </form>
          </table>
        </td>
      </tr>
    </table>


    Thank for the code guys.
    Question,,, How could I find out if the srarch box is working properly with my campid=xxxxxxxxxx ??? I do not see any sign of my campid in the search results page in ebay? Is it embeded with the javascript some how?

    Second; Would anybody be so kind to add a select by category box to this keyword ebay search script....

    Thanks in advance for your replies..

    Ronnie

  25. Newsletter Signup

+ Reply to Thread

Similar Threads

  1. Search Boxes
    By mcinkjet in forum Programming / Datafeeds / Tools
    Replies: 1
    Last Post: April 25th, 2003, 03:46 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •