Search form

General ShopSite user discussion

Search form

Postby Sir Yendor » Sun Jul 06, 2008 2:28 pm

I'm using Shop Site Pro version 9.0 and I'm trying to create a simple search functionality where customers can search by product name or product type.

The resulting page will look like all my other pages but show four products across, each linking to the a page specific to that product.

ISSUE 1 SEARCH RESULTS PAGE
If I understand this correctly, I could place this code:

<table border="1">
[-- LOOP SEARCH 4 --]
[-- IF SEARCHPRODUCT --]
<td>Product:</td>
[-- END_IF --]
[-- IF SEARCHLINK --]
<td>Link:</td>
[-- END_IF --]
[-- SEARCHRESULT --]
[-- END_LOOP SEARCH --]
</table>

on the search template on the position of the page where I want the results to show. Is this correct?

Would I put this code at the top of the page:
[-- DEFINE SEARCH_RESULTS --]

and this at the bottom?
[-- END_DEFINE SEARCH_RESULTS --]

Thanks
Sir Yendor
 
Posts: 47
Joined: Tue Sep 26, 2006 5:52 pm
Location: Portland

Return to User Forum

Who is online

Users browsing this forum: No registered users and 106 guests