You are here:  » Filter category merchant page


Filter category merchant page

Submitted by wesse249 on Mon, 2020-03-30 13:05 in

Hello David,

When i go to a merchantpage {link saved}

And click on the categoryfilter is see te categories like this:

Category1/Subcategory1/Subsubcategory1

Is it possible to show only the subsubcategory1?

Thanks Jan Roel

Submitted by support on Mon, 2020-03-30 13:36

Hello Jan,

Sure - edit html/searchfilters.php and look for the following code at line 92:

  print "<option value='".$id."' ".$selected.">".$path."</option>";

...and REPLACE with:

  print "<option value='".$id."' ".$selected.">".array_pop(explode("/",$path))."</option>";

Cheers,
David.
--
PriceTapestry.com