![]() |
Query Filter excluding keyword
Just playing with the new filters... awesome!
My products have the text "Women" in the description if the products are for women (surprise), but there is not way to filter on "Men". Is it possible to create a query filter on products that do NOT contain the word "Women"? Sort of like this (although it doesn't work): Code:
<li><a href="[server.url type='fullpage' query='word=women']">Women's Glasses</a></li> |
The main issue is your MySQL settings. I'm guessing that your MySQL is configured to index words with 4 or more characters. That's why you can't filter on the word "men". I see on your site references to "Men's", but MySQL doesn't treat that as a 4 letter word.
So, you could update your MySQL settings to index words with 3 or more characters (might have to ask your host about that). For negative searches... Quote:
Code:
word=sunglasses+-women+-unisex Eric |
Amazing!
Thanks for solving my problem!!! |
All times are GMT -5. The time now is 05:49 PM. |
Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.