![]() |
Search Problem
Hey I'm trying to make my search work so that when a user types a query, xcart doesn't search just the title, and desciptions for matches, but also my field - param01. So I can keep categorization info in there that isn't seen by the user. However I modded Search.php (as below) and I still can't get it to work. Any ideas, anyone?
Code:
$substring_query = "AND ($sql_tbl[products].product like '%$substring%' OR $sql_tbl[products].descr like '%$substring%' OR $sql_tbl[products].fulldescr like '%$substring%' OR $sql_tbl[products].param01 like '%$substring%')"; I also added the phrase, " OR $sql_tbl[products].param01 like '%$substring%' " in the if statement above. Am I putting this in totally the wrong place, or what? I have x-cart Pro. 3.4.1 Thanks, Sam[/code] |
Here is a thread that might help you out, it helped me out tremendously.
http://forum.x-cart.com/viewtopic.php?t=5971&highlight= |
Hi there,
My x-cart version is 3.5.4. I tried the suggested link, but i could not get it fixed any idea or advice please :roll: |
All times are GMT -8. The time now is 09:31 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.