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
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