Using PSE with Shop by Category
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.
There are several ways to find categories and find out their DFF catnum # (catnum): Category # Finder
, Category List: CSV/Excel
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