v.samadi Posted August 21, 2015 Share Posted August 21, 2015 Are there any know android-clients available for prestashop webservice? Are there any methods to get count of products which belong to special category in webservice with minimum overhead? After that, how can I get list of them? Link to comment Share on other sites More sharing options...
darknessgc Posted August 23, 2015 Share Posted August 23, 2015 Hi, 1. There is for sure some android application who's using prestashop webservice to provide data to their application , you can easily find them at the play store of google , like PrestaShopMobile from eMagicOne for example. 2. You can have the list of products of category from the webservice using the &filter , and after that you can count the result cause is the length of your active result in you android code. 3. You can create a listview and parsing the result from your webservice request for example. Link to comment Share on other sites More sharing options...
v.samadi Posted September 18, 2015 Author Share Posted September 18, 2015 Dear darknessgc The problem is if I have 1000 products and I want to get a response size which return 1000 items, its size would be large. I'm just looking for a mthod when I call it returns `1000`. About android clients I'm looking for some open source clients. Link to comment Share on other sites More sharing options...
v.samadi Posted September 18, 2015 Author Share Posted September 18, 2015 Hi, 1. There is for sure some android application who's using prestashop webservice to provide data to their application , you can easily find them at the play store of google , like PrestaShopMobile from eMagicOne for example. 2. You can have the list of products of category from the webservice using the &filter , and after that you can count the result cause is the length of your active result in you android code. 3. You can create a listview and parsing the result from your webservice request for example. Dear darknessgc The problem is if I have 1000 products and I want to get a response size which return 1000 items, its size would be large. I'm just looking for a mthod when I call it returns `1000`. About android clients I'm looking for some open source clients. Link to comment Share on other sites More sharing options...
darknessgc Posted September 27, 2015 Share Posted September 27, 2015 HI, I don't really understand what you are looking for ? hypothesis : 1 category with 1000 products. You want to retrieve the 1000 products id,name, descriptions,prices or you only want to have the count of them , so the number 1000 return. cause for the first one , it's webservice with filters and for the second one it's webservice with parameters and maybe with necessary creating a counting one. you can refer to the chapter 8 of the prestashop documentation (advanced use) of the webservices. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now