You are here:  » Using Merchant, Brand, Category and Name Filters with searchExternal.php

Support Forum



Using Merchant, Brand, Category and Name Filters with searchExternal.php

Submitted by npaitken on Fri, 2010-12-10 14:42 in

Hi Dave,

A while back you modified my PT setup so that I could filter searchExternal results using:

merchant:
category:
brand:
name:

My question is: can I use 2 filters in the same string? An if so, how do I write this?

so for example:

merchant:dixons & brand:panasonic

tried this but it doesn't work
$_GET["q"] = "merchant:dixons brand:panasonic";

thanks,
Neil

Submitted by support on Fri, 2010-12-10 15:12

Hi Neil,

The latest version of searchExternal.php (for 11/09A distribution) should support almost exactly as you described - except that ":" is required between the fields - have a go with:

$_GET["q"] = "merchant:dixons:brand:panasonic";

Cheers,
David.
--
PriceTapestry.com

Submitted by npaitken on Fri, 2010-12-10 15:45

perfect :-)
Many thanks Dave