Wednesday 28 July 2010 2:06:17 am
Hy, reading the tutorials "Advanced development wirth ezfind" won't help here, because the ezprice datatype is declared as "not searchable" (see your contentclasses, product for example). Thus it will not be indexed by ezfind or any other search-plugin. Right?
First you need to alter/hack the ezprice datatype, add logic to enable sorting, indexing and perhaps information collection. Then you might write a ezfind-datatype handler to extract the information (price, vat, ...) and by doing so enabling ezfind to get the price values into its index. Another problem remains: is it possible to search/filter for floats or only for integers? I wrote an enhancement of the ezfloat-type some months ago, also filed/updated a bugticket but got no response so far. See here as it might be similar to ezprice: http://share.ez.no/forums/general/ezfloat-datatype-not-searchable
Happy hacking :-) Christian
Hannover, Germany
eZ-Certified http://auth.ez.no/certification/verify/395613
|