KonaKart Community Forum

Installation / Configuration => Programming of KonaKart => Topic started by: sivaprakashcg on October 19, 2007, 02:19:10 pm

Title: search by attributes(For attribute)
Post by: sivaprakashcg on October 19, 2007, 02:19:10 pm
Hi,
   i have doubt in searching the product. lets say, Product Nokia 1110i in the mobile category and also it contains attributes like color(white,black),display(black,white).which i have added in admin side.

From client side is it possible to search with attribute ,
      lets say.. i have to search.. product based on manufacture,category,atttribute of the product.....
whether any API available for this search based on product options(Attribute)

Regards,
sivaprakah.G
                         
Title: Re: search by attributes(For attribute)
Post by: julie on October 19, 2007, 02:30:25 pm
Hi,

The API call you need to use is called searchForProducts() . One of the parameters that you supply is a ProductSearch object. In this object you can specify :


Regards,

Julie
Title: Re: search by attributes(For attribute)
Post by: sivaprakashcg on October 19, 2007, 02:58:24 pm
Hi julie,
          Thanks a lot. you have helped me a lot.
           Even i have to search the product based on the product option values(Attribute of the product)[eg:- version,color,size,memory,model etc.,,]
           I have to search based on this attributes . Can u tell me . is there any API available for this search.

Thanks.

Regards.
sivaprakash.G
Title: Re: search by attributes(For attribute)
Post by: julie on October 19, 2007, 03:12:22 pm
Hi,

There is no API that searches the options of a product. If this is important for you, for someone to search on say "black", what I suggest is for you to add a section in the description that says something like "The Nokia 1110i is available in the following colors black, white etc. etc."

Regards,

Julie