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.
dffget_catnum
By adding
dffget_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:
<?php include('http://www.datafeedfile.com/dffphp_script_search_index.php?
dffget_affid=1001&dffget_catnum=340&'.$_SERVER['QUERY_STRING']); ?>
dffget_mernum
By adding
dffget_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:
<?php include('http://www.datafeedfile.com/dffphp_script_search_index.php?
dffget_affid=1001&dffget_mernum=2016&'.$_SERVER['QUERY_STRING']); ?>
dffget_mfgnum
By adding
dffget_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:
<?php include('http://www.datafeedfile.com/dffphp_script_search_index.php?
dffget_affid=1001&dffget_mfgnum=2003&'.$_SERVER['QUERY_STRING']); ?>
dffget_keyword
By adding
dffget_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:
<?php include('http://www.datafeedfile.com/dffphp_script_search_index.php?
dffget_affid=1001&keyword=trail+mix&'.$_SERVER['QUERY_STRING']); ?>
You can pass the script multiple parameters.
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.