herman7899
18-02-08, 11:55
I'm planning to build a toys website using shopwindow client software and create a link for:
1. Top 10 boys toys
2. Top 10 girls toys
3. Top 10 baby toys
4. Top 10 toys
how can I do this?
thanks
<a href="http://yourwebsite.com/installeddirectory/search.php?c=187&q=boys+toy&iListLimit=10&sListSort=popular"> top ten boys toys</a>
Change yourwebsite.com to your own domain,
installeddirectory is the directory in which you have installed your shopwindow client
c=187 to restrict the category to just toys, change this to c=0 to get boys toys in any category but beware you may not get quite what you want depending on your shop window settings.
q=boys+toy is your search query - in this case only return results that include boys toy
iListLimit=10 to just get ten results - change this to 5 for top 5 etc
ListSort=popular to get the results sorted by popularity, you can also sort by price or relevance.
An example:
http://amcho.co.uk/aw-shop/search.php?c=187&q=boys+toy&iListLimit=10&sListSort=popular
Hope this helps
herman7899
19-02-08, 07:59
thanks amcho.
it works perfectly.