我最近重新设计了我公司 eBay 商店的外观,并设置了自定义搜索栏。但是,当我的用户搜索产品时,它并不是特别在我的商店中搜索产品。相反,它正在进行一般的 eBay 搜索。
我已将我的完整代码包含在 JSFiddle 中,供您有帮助的人查看,如果有人能告诉我如何制作它,我将不胜感激,以便它只搜索我商店中的产品。
提前致谢:JS FIDDLE:http: //jsfiddle.net/DanCUK89/U6LqJ/
我最近重新设计了我公司 eBay 商店的外观,并设置了自定义搜索栏。但是,当我的用户搜索产品时,它并不是特别在我的商店中搜索产品。相反,它正在进行一般的 eBay 搜索。
我已将我的完整代码包含在 JSFiddle 中,供您有帮助的人查看,如果有人能告诉我如何制作它,我将不胜感激,以便它只搜索我商店中的产品。
提前致谢:JS FIDDLE:http: //jsfiddle.net/DanCUK89/U6LqJ/
<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>
利用:
"/your _store/_i.html
在这样的形式上:
<form action="/your_store/_i.html">
your_store 是您商店的链接,如下所示:
stores.ebay.com/your_store