Placement of Search Form on Page Template

General ShopSite user discussion

Placement of Search Form on Page Template

Postby Paul Schuster » Wed Sep 06, 2006 9:49 am

On the Preferences/Search Settings page, under Product Search Page Configuration, it allows only Bottom or Top for Search Field Position (8.0). Cant I place the search form itself (text field and button) anywhere in my custom page template code to appear where I want it on the page? If so, how do I insure my Link Override and Product Override Templates will work with it? Am I going about this wrong?

Paul
Paul Schuster
 

Postby Paul Schuster » Thu Sep 07, 2006 9:49 am

I assume the Product Search Page Configuration selections (Search Settings page) are for Shopsites pre-set templates, but for Custom templates I just want to be sure what it is I actually place in the Page Template as code for the interface (search field and button). I would think that would be something like:

[code]<form style="margin-bottom:0; font-size: 9pt" action="[-- SHOPPING_CART_URL BASE --]/productsearch.cgi?storeid=[-- STORE_ID --]" method=post>
<input type=hidden name="storeid" value="[-- STORE_ID --]">
<br><nobr>
[-- STORE.Search --]<br><input type="text" name="search_field" class="search" size="13" maxlength="30">
<input type="submit" value="[-- STORE.Go --]" style="font-size: 9pt">
</nobr>
</form>[/code]
Paul Schuster
 


Return to User Forum

Who is online

Users browsing this forum: No registered users and 66 guests