PDA

View Full Version : Search Box


teresamar2
11-24-2010, 12:17 AM
I want to make a search box for my ecommerce website. I want the search within my site, and I want pictures to show in the search. What do I need to do to accomplish this? Any help is appreciated.

WotNow
11-24-2010, 01:54 AM
Hi not sure whether this helps .. have you tried googling for this answer. I would think that this requires a database and some php code but I could be wrong:)

Corrosive
11-24-2010, 05:46 AM
Does your e-commerce platform not come with a search facility? That seems a bit odd to be honest. Maybe you have missed something?

teresamar2
11-24-2010, 12:09 PM
I'm not using an ecommerce platform. I'm currently using Homestead as a host, but changing webpages with dreamweaver cs4. When finished, I will find another host. My website addy is www.treasured-jewelry.com (http://www.treasured-jewelry.com). A search box would make jewelry pieces so much easier to find.

Corrosive
11-24-2010, 12:18 PM
Yeah, agreed that would make it easier. The issue you are going to have is that it appears your products/pages are not database driven and that is really how a search box would need to work. I.e. it queries the database and pulls out the results.

Your other option might be a Google Search Box; http://www.google.com/cse/ but it has some draw backs.

Corrosive
11-24-2010, 12:26 PM
Actually, quick Google Search turned up this; http://www.nextopia.com/ecommerce-site-search.html Try Googling 'site search for static html website' and look at the options and forum posts. Might give some more ideas.

teresamar2
11-24-2010, 12:59 PM
What do you mean by "not data based driven"? What do I need to do to make it data based driven?

Corrosive
11-24-2010, 02:30 PM
Sorry, the way you have your pages set up (and this is only based on the info you have given me) sounds like each page is individually created in DW. So it stands on its own on the server. This is usually referred to as 'static' content.

The alternative is a database that sits on your sever which holds all the product details etc. Then you basically create one page (or template) and the content is dynamically driven from the database. Because product details etc are held in the database it makes it easier to build a dynamic search facility which outputs what the customer is looking for.

Hopefully that makes sense. I know it doesn't help you right now as you have already built your site the way you have. If you want to do some research then there are plenty of free e-commerce platforms out there. Our company use Prestashop for clients. That is good :)