• Welcome to KonaKart Community Forum. Please login or sign up.
 

Search for custom field in the shop

Started by David, December 19, 2007, 04:18:06 pm

Previous topic - Next topic

David

Hi,

is there any way to search products in the shop looking for a custom field?

I saw the AdvancedSearchSubmitAction class but the SearchProductForm does not allow it

Regards

David

julie

Hi David,

You can easily add attributes to the SearchProductForm since you have the source of all the Struts forms.

The main engine API supports searching by custom fields. You just have to add them to the DataDescriptor. However, integrating this into the application is tricky at the moment because AdvancedSearchSubmitAction calls the client engine searchForProducts() method where the dataDescriptor isn't supported as a parameter. We'll add this feature to the application in the next release.

Regards,

Julie