Using PSE with Search by Manufacturer / Brand
Example :
Wizard
Search by Manufacturer / Brand is useful when you need to narrow down or limit your search result to show only a particular brand of products. For example, lets say you are creating a web site to promote certain athletic shoes and you are creating a web page specifically to promote Nike shoes. At DFF Nike is identified as DFF Merchant # 5708 ( DFF mernum = 5708 )
We are going to show two examples using Javascript and PHP to show products from Manufacturer Nike only. Nike is manufacturer # 5708 or DFF catnum # 5708.
There are several ways to find categories and find out their DFF mfgnum # (mfgnum):
Category # Finder, Category List:
CSV/Excel,
TAB
Javascript:
<script language="javascript" src="http://www.datafeedfile.com/dff_jsthrow.php?script=search_index&affid=____&catnum=2213"></script>
Examine the &catnum=2213 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_catnum=2213&'.$_SERVER['QUERY_STRING']);?>
Examine the &catnum=2213 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]