PDA

View Full Version : is it possible to redefine results by a specific platform?


ljackson09
18-09-09, 19:21
Hi All,

i am performing a search for video games and i was wondering if there was a way to search a specific platform e.g xbox 360?

here is my current code
$searchcategory = "";
$storesArray = array(
9,15,65,172,323,380,483,547,550,686,782,854,896,91 1,980,
1052,1084,1107,1109,1132,1134,1184,1186,1198,1202, 1221,1228,
1256,1257,1270,1311,1322,1331,1350,1402,1404,1418, 1472,1487,
1521,1559,1597,1598,1599,1672,1744,1815,1826,1836, 1916,1946,
1947,1964,1970,1995,2026,2038,2041,2066,2124,2147, 2203,2208,
2249,2258,2276,2344,2354,2383,2424,2433,2453,2481, 2487,2526,
2537,2547,2548,2549);
$stores = array('iMerchantId' => $storesArray);

$oRefineBy = new stdClass();
$oRefineBy -> iId = 4;
$oRefineBy -> sName = 'Category';
$oRefineByDefinition = new stdClass();
$oRefineByDefinition -> sId = $AW_catid;
$oRefineByDefinition -> sName = $AW_catName;
$oRefineBy -> oRefineByDefinition = $oRefineByDefinition;

$aParams = array("sQuery" => urldecode($Keywords), "iMerchantId" => $stores, "oActiveRefineByGroup" => $oRefineBy, "bIncludeTree" => true);
$oResponse=$oClient->call('getProductList', $aParams);


thanks
Luke

GeorgeGaz
21-09-09, 10:00
Hello,

Currently there is no defined way (short of using a query string) to pull out just XBOX 360 products.

This is because there is currently no system in place for this and no merchants who are passing this data.

We have thought about having this as an option and it will likely be included in the a vertical upgrade to the Entertainment channel, however, it is a case of getting the key merchants who promote such products including that data in their datafeed.

Cheers

ljackson09
23-09-09, 01:30
Hi Mate,

thanks for your reply, its a shame that this is not available but if thats the case theres not much i can do about it :D

will have to try and find another way of doing things lol

thanks
Luke