Jump to content

How to remove search on referance?


Recommended Posts

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 mname

Change 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 mname

Saves the file, in the backoffice go to Preferences -> Search and rebuild the index.

Link to comment
Share on other sites

  • 2 weeks later...
×
×
  • Create New...