| Yahoo Mechant Solutions & preset searches -
06-21-2005, 10:19 PM
Hi I'm new here.
Is there anyone out there using Yahoo Merchant solutions. I'm trying to get tricky with the store editor. For reasons that are a very long story, using the section function is very impractical and unwieldly for my catalog. So I have decided to use preset search buttons. I just altered the code that Yahoo has in it's docs like so:
<!-- BEGIN SEARCH BUTTON-->
</form>
<form action="http://search.store.yahoo.com/cgi-bin/nsearch" method="get">
<input type="hidden" value="yhst-**my store ID**" name="catalog"><input size="0" name="query" type="submit" src="http://www.marsdust.com/images/powered/php2.gif" value="New Age">
<!-- END SEARCH BUTTON-->
These work great. But I would like to use images instead of the ugly grey button and I am having the worst time getting it to work. This is the closest I've gotten:
<!-- BEGIN SEARCH BUTTON-->
</form>
<form action="http://search.store.yahoo.com/cgi-bin/nsearch" method="get">
<input type="hidden" value="yhst-**my store id**" name="catalog" >
<input size ="0" type="image" src="http://www.marsdust.com/images/powered/php2.gif" value="piano solo" alt="[submit]" name="query" >
<!-- END SEARCH BUTTON-->
Unfortunately this takes me to the blank search page instead of the list of products resulting from the value. I've tried putting things in many different orders, but it either screws up the code entirely (but in logical ways of course), or shoots me back to my search page.
I'm of moderate skill level with this stuff, but the best I can figure is that the first input string gets me into my catalog and the second one allows me to specify search values.
Can anyone see something stupid I've missed?
Thanks in advance,
Jason |