Detailed Search Form: How To?

lqunta

No avatar

2009-04-03 15:15

Greetings All,

Sorry if I may be cross posting. I would like to know whether it may be possible to develop a custom search script for Quick.Cart Ver 3.x [i.e. A search script that gives more 'detailed options', e.g. one can search by 'category', or by 'producer' e.t.c. If one selects from the categories drop down, say, a category like 'paintings' only products listed within paintings will be searched]

If this is possible, could anyone offer some tips on how this can be implemented? Looking forward to developing this further.

» Quick.Cart v3.x

beholder

Avatar: beholder

2009-04-04 23:11

there is a pretty straightforward function generateProductsSearchListArray in the core/products.php file. I think it searches product names for ALL of the inputted terms and optionally searches also the product descriptions.
From an overview if the products-in-pages management I can conclude you should probably also pay attention to functions listProducts and generateProductsListArray. It gets a little complicated to understand, I wasn't able to crack it last time I tried.

There is a better search implemented in the EXT version, but it is of course not available to free modification.

Back to top
about us | contact