Using PSE to Search by Store
Search by Store is the same as searching for product only from a particular store.
Basically we use the PSE script and specify one parameter 'mernum' which will filter the search result to only show products where a that particular store exists.
We are going to show two examples using Javascript and PHP to show products from Amazon. Amazon.com is merchant # 45024 or DFF Mernum # 45024.
There are several ways to find merchants and find out their DFF Merchant # (mernum):
Merchant Finder, Merchant List:
CSV/Excel,
TAB,
PHP
Javascript:
<script language="javascript" src="http://www.datafeedfile.com/dff_jsthrow.php?script=search_index&affid=____&mernum=45024"></script>
Examine the &mernum=45024 parameter from the javascript calling script above. Please note that you have to separate parameters with '&' ampersand sign. Also, make sure to replace the after affid= with your DFF Affiliate ID.
PHP:
<?include('http://www.datafeedfile.com/dffphp_script_search_index.php?dff_affid=____&dff_mernum=45024&'.$_SERVER['QUERY_STRING']);?>
Examine the &mernum=45024 parameter from the PHP calling script above. Please note that you have to separate parameters with '&' ampersand sign. When using PHP scripts you have to prepend the prefix 'dff_' in front of every single parameter. Also, make sure to replace the after affid= with your DFF Affiliate ID.
Options and Parameters you can pass to PSE
There are many options / parameters you can specify when using the DFF PSE script. While none of the parameters are required except for
affid, you should at least specify one filtering parameters such as keyword or category, otherwise the default search result will be random and will not show anything useful.
See all available PSE parameters
There are no comments on this page. [Add comment]