You are here:  » Search External Script for just product map


Search External Script for just product map

Submitted by NiceGuyEddie on Sat, 2014-04-12 15:24 in

Hi David,

I have been looking at using the search external script that you made. Is it possible to restrict it to search just the products in the 'productsmap' table?

Cheers

Eddie

Submitted by support on Sat, 2014-04-12 15:56

Hello Eddie,

Sure - in searchExternal.php, look for the following code at line 123:

  if ($q)

...and REPLACE with:

  $priceWhere .= " AND name IN (SELECT name FROM `".$config_databaseTablePrefix."productsmap`) ";
  if ($q)

Cheers,
David.
--
PriceTapestry.com

Submitted by NiceGuyEddie on Sat, 2014-04-12 16:24

Perfect. Thank you.