You are here:  » one more custom field like category,brand and merchant

Active Forum Topics


one more custom field like category,brand and merchant

Submitted by stonecold111 on Wed, 2013-08-21 19:29 in

Hi,
is it possible to use a custom field as a search filter? For example, I create a custom field called book author. When users click on a link to Elmore Leonard, it'll return all the results for his books.

Submitted by support on Thu, 2013-08-22 11:40

Hi,

I know you're using the plugin so this would need to go in pto_search.php, look for the following code around line 105:

    case "brand":
      $fields = array("merchant","category","brand");

...and REPLACE with:

    case "brand":
    case "author":
      $fields = array("merchant","category","brand","author");

Cheers,
David.
--
PriceTapestry.com