This is a discussion on Specify Search Criteria with dropdown box(not by Attributes) within the osCommerce 2.2 Modification Help forums, part of the osCommerce 2.2 Forums category; Hello All Is it possible to have drop down boxes in the advance search page for certain criteria of keywords ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| |||
| |||
| Hello All Is it possible to have drop down boxes in the advance search page for certain criteria of keywords etc EG Year - 2000, 2001, 2004 Person - Fred, George Make - Epson, Cannon I have tried the contribution "Advanced Search Atrributes" but this shows all attributes. A Bit confusing I think. The idea behind this is that all products will have certain keywords to help people search for the right product eg year and then a person perhaps (as above). This will then bring up all products with the same year and person as per the words in their product description. I hope this makes sense. At the present time the search keywords do not seem to sort the years even though they are different in the product description. I am using Osc Max V1.7 and I am using easy populate to update my cart. Thanking you in advance. Regards Zel |
| Sponsored Links | ||
| ||
|
#2
| ||||
| ||||
| I am using oscommerce 2ms2.2. But I think I can help you a bit. I had to enable the client to search tablets with respect to their strength. I made a new table. Inserted the values of strength in it. Then I used this function in search.php and advanced_search.php function tep_draw_pull_down_menu($name, $values, $default = '', $parameters = '', $required = false) at the right place and in the right way to extract the fields of the strenght from the database into the drop down menu. Then I was able to perform search on it. Example at: www.paylessdrugstores.com Most of the contributions made for oscommerce work for oscmax 1.7 too. So give my procedure a try. Best of luck.
__________________ Regards, developer X Web Developer [color=blue]HTTPPoint Web Talk - Discuss about Web Design, Web Hosting, Programming & Web Development |
|
#3
| |||
| |||
| Thank you for your help, may I impose a little more..... My knowledge of Mysql is limited but learning fast, could you give me an example of what the new table to insert into mysql looked like. Also, apologies for the 50 questions, the function in the search.php etc if you have three categories eg name, person, year would you put this in separately for each category (so to speak) Thank you for you help Regards Zel |
|
#4
| ||||
| ||||
| Quote:
Quote:
The new table needs to be defined in the includes/database_tables.php of catalog and/or (depends upon your requirements) admin folder. Quote:
Quote:
Feel free to come there. And do read the oscDox guide for customizing your store.
__________________ Regards, developer X Web Developer [color=blue]HTTPPoint Web Talk - Discuss about Web Design, Web Hosting, Programming & Web Development |
| Sponsored Links | ||
| ||
| Thread Tools | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| product attributes - "option type" dropdown missin | test_fsait | osCMax v2 Features Discussion | 12 | 02-13-2007 06:05 PM |
| Catagorie dropdown has disappeared? | delphi1 | osCommerce 2.2 Discussion | 2 | 01-18-2006 04:28 AM |
| Full text search in advanced search | Anonymous | osCMax v1.7 Discussion | 0 | 04-15-2004 03:00 PM |
| Search by Attributes | raveoverseas | osCommerce 2.2 Modification Help | 0 | 07-31-2003 09:56 AM |
| How toCreate Dropdown menu | Anonymous | osCommerce 2.2 Modification Help | 0 | 10-24-2002 09:28 PM |