You are here:  » Advanced Search

Support Forum



Advanced Search

Submitted by JohnFAHD on Mon, 2009-09-14 11:56 in

Hi David

I've only just started using your script and may I just say its really good, so thanks!

My website is bascially a price comparison site for External Hard Drives. I want offer customers an alternative to the current search, giving those who don't know specific models or brands a selection of hard drives that would suit them.

To do this I want to build an advanced search that allows a customer to choose from a variety of drop down boxes and then produce results. The drop downs I want are:

brand (a drop down populated from all the brands)

Catagory (a drop down populated from all the brands)

Storage Size (a drop down where I choose the variables (500GB, 1Tb etc.) that then searches in the product description for the exact phrase.)

Colour (again a drop down where I choose the variables (Black, White etc.) that then searches in the product description for the exact phrase)

Special Connectivity (again a drop down where I choose the variables (Firewire, e-sata) that then searches in the product description for the exact phrase)

I've seen the brand drop down post, but I want to combine several of these drop downs into the search.

Is this possbile at all, or is it pie in the sky?

Thanks again David!

John

Submitted by support on Mon, 2009-09-14 13:59

Hello John,

It's certainly possible, but there's several steps required along the way. The first stage would be to add the additional fields against which you want to search to your site. The generic instructions for adding new fields are described in the following thread:

http://www.pricetapestry.com/node/313

So in your case, you would want to follow the instructions to add 3 new fields to your site - size, colour, connectivity. If you need any help with this stage, let me know - I'm very familiar with the changes and if you're not sure of anything or the changes seem to be causing any problems email me the relevant files (as attachments) and I'll check them out for you.

Once that's in place, I'll help you bring the fields in as drop-down boxes on an advanced search form...

Cheers,
David.

Submitted by JohnFAHD on Mon, 2009-09-14 17:56

Hi David

Done all of the above, whats next?

Submitted by support on Tue, 2009-09-15 07:13

Hi John,

If you could email me your modified includes/admin.php (so that I can see exactly what field names you are using) and also search.php I'll modify the search handler to support the new fields. Then we can test that it is working correctly with manual searches; and then move on to create drop-down boxes for the new fields...

Cheers,
David.