android - Filters products with brands,manufacturer, price in magento -
hi developing magento e-commerce application in android. want filter products manufacturers, brands, price etc. possible using magento's "catalogproductlist" ksoap2 api?
below code working single filter "price".
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);
for above code how can send array of filters ? ex : price (100 200),(300 400) brands (brand1,brand2,brand3 etc)?
Comments
Post a Comment