Linking Search Query instead of assigning Products to Pages

General ShopSite user discussion

Linking Search Query instead of assigning Products to Pages

Postby dZi » Wed Feb 27, 2008 2:06 pm

We are wondering if we could take our static Main Category pages we already created in Dreamweaver, and just linking the subcategory links with a search query that would search for the first 3 digits of an SKU (which would narrow down specific subcategory items), therefore getting around assigning many different items to different subcategory pages.
dZi
 
Posts: 96
Joined: Wed Feb 20, 2008 1:10 pm

Postby JDavis » Wed Apr 30, 2008 11:12 am

I'd also like to point my customers to an entire manufacturer's listing.

Using a search result for a specific name as the link rather than creating a product page for all of a manufacturer's products would be great.

Is this possible?
JDavis
 
Posts: 8
Joined: Thu Feb 14, 2008 3:32 pm

Postby tfoy » Sat Jul 26, 2008 5:49 pm

One Solution is to Use the Search Form to simulate a Link.

<form action="http://www.yourdomain.com/cgi-domain/sb/productsearch.cgi?storeid=*your store id" method="post">
<input name="Submit" type="submit" class="textButton" value="type button text here" />
<input type="hidden" name="storeid" value="*your store id here" />
</form>

then create a css style


<style type="text/css">
.textButton
{
border-width: 0px;
padding: 0px;
margin: 0px;
background-color: #ffffff;
color: #0033CC;
text-decoration: underline;
}
</style>



you can also you a text link as follows:

<SCRIPT language="JavaScript">
function submitform()
{
document.myform.submit();
}
</SCRIPT>

<form action="http://www.yourdomain.com/cgi-domain/sb/productsearch.cgi?storeid=*your store id" method="post" name="myform" id="myform">
<input type= "hidden" name="search_field" size="1" value="search term here"/>
<A href="javascript: submitform()">Submit</A>

<input type="hidden" name="storeid" value="*your store id here" />
</form>



Tom
tfoy
 
Posts: 32
Joined: Wed Apr 16, 2008 10:34 am


Return to User Forum

Who is online

Users browsing this forum: No registered users and 113 guests