Additions:
[[http://datafeedfile.com/examples/remotephp.php?eid=0_3 Example]] : [[http://www.datafeedfile.com/affiliate_get_html_shoppingtools.php#category Wizard]]
Search by Category is useful when you need to narrow down or limit your search result to show only a particular category of products. For example, if you have a web site which sells costumes... if someone searches for the keyword 'superman', you do not want to show superman books or movies, specifying the category # to 2213 (costume) will limit the search result to show only costumes.
We are going to show two examples using Javascript and PHP to show products from Costume category. Costume is category # 2213 or DFF catnum # 2213.
There are several ways to find categories and find out their DFF catnum # (catnum): [[http://www.datafeedfile.com/affiliate_catsearch.php Category # Finder]], Category List: [[http://www.datafeedfile.com/category_list.xls CSV/Excel]], [[http://www.datafeedfile.com/category_list.txt TAB]]
Javascript:
%%(javascript)
%%
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:
%%(php)
%%
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.
[[dffPSEParameter See all available PSE parameters]]