Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

How to new products fields + Advance search?


hetul

Recommended Posts

Posted

Hello All,

 

How do I add new products fields like (keywords) so that I can define a particular product with a few keywords (one or more than one, seperated by a comma) of my liking.

 

Now, once the user goes to Advance Search. He shoud see a DROP DOWN box just like the Manufacturer. From where he can select any of the keyword.

 

This will show him the list of all the product that contain that keyword.

 

I know this can be achived by putting those keywords in the description. But then I have to depend on the user the use those keywords (which can be where rare)

 

These keywords (or attridutes) would be like

 

- Wooden

- Plastic

- Steel

 

And so on..

 

is there a way to achive this?

 

Thanks

hk

Posted

IF I understand what you want, here is an outline of what you need to do:

 

 

Create 2 new tables to hold keywords & relate them to products.

 

In the admin section, add input items for the new fields so you can enter keywords for a product.

 

In the advanced_search.php page, add code to generate a pulldown menu of your keywords.

 

In the advanced search code, add searches to use the entered keywords in searches.

 

 

This is a non-trivial programming project but it can certainly be done.

 

Bob

 

 

<SNIP>

 

is there a way to achive this?

 

<SNIP>

Posted

yes bob, this is what i wanted done.

 

I realise, when dealing with over 2000 products. This can help user to narrow down his search for same kind of products from different brands.

 

hk

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...