Zen Cart Logo
Forums / General Questions / Is it possible to make search ignore certain characters?

Is it possible to make search ignore certain characters?

Locked

Views: 805

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
21 Jun 2010, 1:21 PM
#1
digitalshadow avatar

digitalshadow

Totally Zenned

Join Date:
Mar 2009
Posts:
616
Plugin Contributions:
0

Is it possible to make search ignore certain characters?

Is it possible to make the search system ignore certain characters?

So if someone searched for test-product it would be the same as searching for testproduct

28 Jun 2010, 1:28 PM
#2
digitalshadow avatar

digitalshadow

Totally Zenned

Join Date:
Mar 2009
Posts:
616
Plugin Contributions:
0

Re: Is it possible to make search ignore certain characters?

Anyone?

28 Jun 2010, 2:18 PM
#3
shrimp_gumbo_mmmhhh avatar

shrimp_gumbo_mmmhhh

Totally Zenned

Join Date:
Jun 2007
Location:
Texas, USA
Posts:
1,436
Plugin Contributions:
0

Re: Is it possible to make search ignore certain characters?

If the letters are not part of a word it can be done fairly easily. You will need to modify the code to look at the keyword... if the keyword is "!" then make it "" or something like that. I would think that if the character is part of a word it could be done with more programming.

30 Jun 2010, 11:06 AM
#4
digitalshadow avatar

digitalshadow

Totally Zenned

Join Date:
Mar 2009
Posts:
616
Plugin Contributions:
0

Re: Is it possible to make search ignore certain characters?

Can anyone help further, perhaps direct me to the file I need to look at modifying?