Hello David,
Is it possible to add/place the category of a product in de the metadescription of the product?
Thanks Jan Roel
Hello Jan,
Sure - in products.php the meta/description is set at line 70:
$header["meta"]["description"] = translate("Price search results for")." ".$product["products"][0]["name"];
At this point, the category is in the variable $product["products"][0]["category"] to use as required, for example to prefix the product name with the category use something like:
$product["products"][0]["category"]
$header["meta"]["description"] = translate("Price search results for")." ".$product["products"][0]["category"]." - ".$product["products"][0]["name"];
Cheers, David. -- PriceTapestry.com
©2006-2025 IAAI Software | Contact Us | Privacy Policy
Hello Jan,
Sure - in products.php the meta/description is set at line 70:
$header["meta"]["description"] = translate("Price search results for")." ".$product["products"][0]["name"];
At this point, the category is in the variable
$product["products"][0]["category"]
to use as required, for example to prefix the product name with the category use something like:$header["meta"]["description"] = translate("Price search results for")." ".$product["products"][0]["category"]." - ".$product["products"][0]["name"];
Cheers,
David.
--
PriceTapestry.com