I run into a little problem with my search box, I want it to also work with IDs, lets say you have an online shop with 100 products, it currently works if you type the name/ keywords / part of the name but I want to search by the product's ids..
I looked around the web and couldn't find anything helpful -.- but I managed to make a second search box that works with IDS but it only works with ids, it doesn't work with names -.-
I'm using osclass as framework, here is the code for both search boxes:
Help with the search box Watch
- Thread Starter
- 10-05-2016 16:55
- 11-05-2016 01:44
Just make your SQL query more general. OSClass is doing one under the hood somewhere: just replace it with your own that looks in all the same places + the product id field.