SHOPPING LINK

If you plan to make your products immediately available and have your customers begin adding items right from your homepage, you will need to use either additem.exe, allinone.exe or fillcart.exe. Please go to whichever section pertains to the method you'll be using:

If you want to have a search of your catalog performed and display the results of the catalog search on a nextpage, you will need to add a clickable link to your homepage that sends your customers to the shopping area of your website. This link performs the serch and displays the search results on a fully-customizable template page:

<a href="/cgi-bin/dbsearch.exe?mdb=\mycatalog.mdb,tbl=myproducts,template=\products.asp,
nextpage=/noproducts.asp,DB_RETURN_ALL=MyCategory">ONLINE STORE</a>

Note - The above call cannot have ANY spaces in it...it must be one continuous unbroken line of code.

This can also be done via the POST method (the above is a GET), which will make a button instead of a link for your customers to click on:

<FORM METHOD="POST" ACTION="/cgi-bin/dbsearch.exe">
<input type="hidden" name="mdb" value="\mycatalog.mdb">
<input type="hidden" name="tbl" value="myproducts">
<input type="hidden" name="template" value="\products.htm">
<input type="hidden" name="nextpage" value="\noproducts.htm">
<input type="hidden" name="DB_RETURN_ALL" value="MyCategory">
<input type="submit" value="Online Store">
</FORM>


  • mdb - the path and filename to your database.
  • tbl - the name of the table to search on within that database.
  • template - the path to the page that will display the search results.
  • nextpage - the path to the page that is displayed when no items can be found to match the search criteria.
  • DB_RETURN_ALL - tells the server to return ALL the items in the category specified.

For more information on setting up database search and return pages, please our Database Documentation.