weraw Posted May 9, 2010 Share Posted May 9, 2010 Hi,I want to remove so the coustumer cant search on the referance nummer.All tips are welcome! Link to comment Share on other sites More sharing options...
weraw Posted May 12, 2010 Author Share Posted May 12, 2010 b.u.m.p Link to comment Share on other sites More sharing options...
tomerg3 Posted May 12, 2010 Share Posted May 12, 2010 Edit /classes/Search.php (keep a copy of the original for backup).Look for the function public static function indexation($full = false) Around line 290.About 30 lines into the function you will see:SELECT p.id_product, pl.id_lang, pl.name as pname, p.reference, p.ean13, pl.description_short, pl.description, cl.name as cname, m.name as mnameChange it to (removing p.reference,)SELECT p.id_product, pl.id_lang, pl.name as pname, p.ean13, pl.description_short, pl.description, cl.name as cname, m.name as mnameSaves the file, in the backoffice go to Preferences -> Search and rebuild the index. Link to comment Share on other sites More sharing options...
weraw Posted May 23, 2010 Author Share Posted May 23, 2010 Works perfect thx tomerg3!! Link to comment Share on other sites More sharing options...
rocky Posted May 23, 2010 Share Posted May 23, 2010 If your issue is resolved, please edit your first post and add [sOLVED] to the front of the title. Link to comment Share on other sites More sharing options...
Recommended Posts