您好我正在开发android中的magento电子商务应用程序。我想过滤制造商,品牌,价格等产品。 这是否可能使用magento" catalogProductList" ksoap2 api?
以下是我的代码,适用于单个过滤器"价格"。
SoapObject filterResult = new SoapObject(NAMESPACE, "catalogProductList");
filterResult.addProperty("sessionId",sessionID);
SoapObject value = new SoapObject(NAMESPACE, "associativeEntity");
value.addProperty("key", "in");
value.addProperty("value", "50.0000");
SoapObject complexFilter = new SoapObject(NAMESPACE, "complexFilter");
complexFilter.addProperty("key","price");
complexFilter.addProperty("value",value);
SoapObject filterArray = new SoapObject(NAMESPACE, "complexFilterArray");
filterArray.addProperty("item",complexFilter);
SoapObject filters=new SoapObject(NAMESPACE, "filters");
filters.addProperty("complex_filter", filterArray);
filterResult.addProperty("filters", filters);
对于上面的代码我该如何发送过滤器数组? 例如:价格(100到200),(300到400) 品牌(Brand1,Brand2,Brand3等)?