|
Custom Navigation Links
|
Previous Top Next |
| · | Search URL - The search.php script can be called with a searchstring parameter. This will list only products that contain the searchstring in the name or description. A unique string of characters can be included in each product description. When a search is performed only matching products will appear. A customized search system can be created this way.
|
| Example: http://yourdomain.com/search.php?searchstring=productcode123
|
|
|
| Here is a tip for using search.php to filter the product listings. Include a unique text string in each product name or description. To group products in searches, use a simple product code. For instance a book that is fiction and is by an author with code name Hort and it is his 1st book might have a code "BFHort1". A link to search.php?searchstring=BFHort1 will display only that product. However, a link to search.php?searchstring=BFHort will display all of the fiction books by that author. To hide the product codes so that they do not appear in catalog pages, put the codes between HTML comment tags. <!-- productcode -->
|
|
|
| · | Category URL - A specific category of products can be listed by including a cat= parameter in the URL to the page.
|
| Example 1: http://yourdomain.com/catalogue.php?cat=2 will open the catalog page products that are in category number 2.
|
| Example 2: http://yourdomain.com/shop.htm?cat=2 will open a custom catalog page showing products in category number 2.
|
|
|
| · | Product URL - A specific product listing in the catalog may be displayed by calling catalogue.php and by including a product ID parameter.
|
| Example 1: http://yourdomain.com/catalogue.php?product=123 will open the catalog page showing product ID 123.
|
| Example 2: http://yourdomain.com/shop.htm?cat=2 will open a custom catalog page showing product ID 123.
|