doc.datafeedfile.com has been deprecated. Go to our new colaborative documentation at wiki.datafeedfile.com

Home · Affiliate FAQ · Merchant FAQ · Examples · Merchants · Affiliate Networks · Forums · Wiki · Blog · Login
DatafeedFile.com Documentation 1.02
Prev Javascript Search Engine Next


3.1. Setting Search Defaults

There are a number of optional parameters you can add to the querystring to specify default search conditions. Regardless of what the search engine displays by default, the visitor will still be able to search from the collective databases of all your affiliated merchants unless you disable the search bar.

catnum

By adding catnum=<id> to the querystring, you can display only products from the specified category. You can find the catnum you want by logging into your affiliate account and using the category finder. Example:
<script type="text/javascript" src="http://www.datafeedfile.com/dff_jsthrow.php?
script=search_index&affid=1001&catnum=340"></script>

mernum

By adding mernum=<id> to the querystring, you can display only products from the specified merchant by default. You can find the mernum of a merchant by logging into your affiliate account and using the merchant finder. Example:
<script type="text/javascript" src="http://www.datafeedfile.com/dff_jsthrow.php?
script=search_index&affid=1001&mernum=2016"></script>

mfgnum

By adding mfgnum=<id> to the querystring, you can display only products from the specified manufacturer by default. You can find the mfgnum of a manufacturer by logging into your affiliate account and using the manufacturer finder. Example:
<script type="text/javascript" src="http://www.datafeedfile.com/dff_jsthrow.php?
script=search_index&affid=1001&mfgnum=2014"></script>

keyword

By adding keyword=<keyword> to the querystring, you display the result of a specific keyword search by default. You must URL-encode the keyword value. For more information on URL encoding, see URL encoding. Example:
<script type="text/javascript" src="http://www.datafeedfile.com/dff_jsthrow.php?
script=search_index&affid=1001&keyword=star+wars"></script>
You can pass the script multiple parameters.


Prev
Javascript Search Engine
Home
Chapter
Next
Other Options

User Comments

No comments found for this page.

Add Comment

Please use this form to add your own comments regarding your experience with particular features of DataFeedFile, clarifications of the documentation, or hints for other users. Please note, this is not a support forum, and your IP address will be logged.

Code: Please enter the code to the left into the code field.
Name:
Email:
Comment:
 

Project hosted by PriceComparison.com | Designed by DataFeedFile.com
Copyright © 2005-2006 DataFeedFile.com - Online affiliate marketing industry datafeed file integration web services