【问题标题】:How to make my eBay search bar specific to my store? [closed]如何使我的 eBay 搜索栏特定于我的商店? [关闭]
【发布时间】:2012-08-07 09:59:34
【问题描述】:

我最近重新设计了我公司 eBay 商店的外观,并设置了自定义搜索栏。但是,当我的用户搜索产品时,它并不是特别在我的商店中搜索产品。相反,它正在进行一般的 eBay 搜索。

我已将我的完整代码包含在一个 JSFiddle 中,供您乐于助人的人查看,如果有人能告诉我如何制作它,我将不胜感激,以便它只搜索我商店中的产品。

提前致谢: JS 小提琴:http://jsfiddle.net/DanCUK89/U6LqJ/

【问题讨论】:

    标签: javascript html search ebay-design-templates


    【解决方案1】:
    <form name="search" method="get"
    action="http://search.stores.ebay.com/search/search.dll?GetResult&">
       <input type="text" name="query" maxlength="300" >
       <input type="hidden" name="fcd" value="2">
       <input type="hidden" name="from" value="R10">
       <input type="hidden" name="sasel" value="<Your store number>">
       <input name="submit" type="submit" value="Search">
       <br />
       <input type="checkbox" name="srchdesc" value="y">search titles & descriptions
    </form>
    

    或者试试这个

    <form name="search" method="get" action="http://search.stores.ebay.com/search/search.dll">
    Search Our Store:
    <input type="text" name="query" size="7">
    <input type="submit" value="Go" width="20" height="16" border="0">
    <input type="hidden" name="MfcISAPICommand" value="GetResult">
    <input type="hidden" name="sid" value="ENTER STORE ID HERE">
    <input type="hidden" name="store" value="ENTER STORE NAME HERE">
    <input type="hidden" name="colorid" value="15">
    <input type="hidden" name="fp" value="0">
    <input type="hidden" name="srchdesc" value="y">
    </form>
    

    【讨论】:

    • 感谢@Trinh Hoang Nhu,不幸的是我找不到我的sasel 号码,我很难找到它!
    • 是的,店铺ID是Pinknoise-Systems,但是我试过用sid="Pinknoise-Systems" 和seasel="Pinknoise-Systems" 都不成功。
    • 还有一个身份证号,你能找到吗?
    【解决方案2】:

    使用:

    "/your _store/_i.html
    

    在这样的表单上:

    <form action="/your_store/_i.html">
    

    your_store 是您商店的链接,如下所示:

    stores.ebay.com/your_store
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2022-01-23
      • 2021-01-31
      • 2016-07-29
      • 1970-01-01
      • 2020-01-19
      相关资源
      最近更新 更多