Hi David,
Could not find anything useful in the forum for this.
Is it possible for the searchresult page where you have Product search results for: “category name” to show after that the brand name to if brand name is used? And get that in the browser title to.
I use the brandFilter so when I click on a category I get the category name when I use the dropdownmenu for the brand filter it should be good to show the category name and the brand name in Product search results for:
I have used the code under wich work great for the browser title on the products page now I should want that you get the same idea for: Price search results for: category name and brand name.
$header["title"] = htmlentities($q,ENT_QUOTES,$config_charset)." :: ".htmlentities($product["products"][0]["category"],ENT_QUOTES,$config_charset);
I have try self view things but its not working.
Thanks Leo
Hi Leo,
Sure - you should just be able to use whatever variable the brand is coming in as in the brand filter (probably $_GET["brandFilter"]) within the text, currently generated by the following code (line 118 in the distribution):
$banner["h2"] = translate("Product search results for")." <strong>".htmlentities($q,ENT_QUOTES,$config_charset)."</strong> ";
...and changing this as follows:
$banner["h2"] = translate("Product search results for")." <strong>".htmlentities($q,ENT_QUOTES,$config_charset)." ".$_GET["brandFilter"]."</strong> ";
Cheers,
David.