You are here:  » External.php Search Product Titles

Support Forum



External.php Search Product Titles

Submitted by Stew on Mon, 2012-04-09 11:14 in

Hi there,

Hope you can help, we're trying to adjust the search type using external.php, for example if we search for:

"long belted dress"

we get 2 results.

However there are more products in the feed that match this criteria, I think the script is searching for the string "long belted dress" exactly as it appears, i.e. it wont find products with the following titles:

"long red belted dress"
"belted blue prom long dress"

but it would find:

"green long belted dress"

Any idea what we can adjust to find all products from the feed?

Many Thanks

Stew

Submitted by support on Tue, 2012-04-10 17:02

Hi Stew,

I checked the last version of external.php that I sent to you and it should be using a logical AND but not exact match.

I wonder if you might be using a product page query, where the calling code uses:

  $_GET["product"] = "Product Name";

...instead of a search call using:

  $_GET["q"] = "Keywords";

That might be all it is - I know it has been a while so if that's not the case, drop me an email with a copy of the "calling code" that you are using and your latest external.php attached and I'll check it out...

Cheers,
David.
--
PriceTapestry.com