KonaKart Community Forum

Installation / Configuration => Programming of KonaKart => Topic started by: avector on July 22, 2015, 10:36:53 am

Title: Konakart SOAP product options.
Post by: avector on July 22, 2015, 10:36:53 am
Could you please clarify how to get products options (attributes) (like Color, Size and so on) by using SOAP API? I have tried searchForProducts(..) and searchForProductsWithOptions(..) with many parameters  set to true (like setGetTags(true), setFillCustomAttrArray(true)) and so on. However the resulting Products and its Product[] array does not contain any information about product options.

And is it possible to get filtered products by some of these attributes by SOAP API? For eg get products with some categories with product options Color (white, black) only...

Thank you in advance.
Title: Re: Konakart SOAP product options.
Post by: julie on July 24, 2015, 10:05:05 am
All KonaKart APIs provide all of the functionality so whatever you can do through POJO you can also do through SOAP or JSON or RMI.

To get the options you must set fillProductOptions to true in the DataDescriptor object passed to the search. For filtering you'll probably want to use faceted searching.
Title: Re: Konakart SOAP product options.
Post by: avector on July 28, 2015, 05:14:14 am
Yes. Thank you for reply.