raffaelet Posted September 14, 2015 Share Posted September 14, 2015 (edited) Hallo a store is listing products which have strings like "135/85 R14" in the description text. The requirement is that searching for 1358513 returns a product having "135/85 R13". The slash "/" is already ignored, the " R" does not. So searching for "13585" give actual results; searching for 1358513 gives no results. UPDATED QUESTION How could I enter a regular expression as the alias in the search configuration? I.e. it should be something like: alias: ^[0-9]{2,3}.*[0-9]{2}.*[0-9]{2,3}$ search: ^[0-9]{2,3}\/[0-9]{2}\sR[0-9]{2,3}$ Thanks in advance Edited September 15, 2015 by raffaelet (see edit history) Link to comment Share on other sites More sharing options...
Dh42 Posted September 15, 2015 Share Posted September 15, 2015 You would need to make alias in the back office search panel for the terms. http://screencast.com/t/pMLnyuPKVc Link to comment Share on other sites More sharing options...
raffaelet Posted September 15, 2015 Author Share Posted September 15, 2015 (edited) Thank you, but search alias are quite restrictive since they maps a finite number of aliases: in my case a regular expression would be the solution. You would need to make alias in the back office search panel for the terms. http://screencast.com/t/pMLnyuPKVc Edited September 15, 2015 by raffaelet (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts