Use Category Name as Meta Description and Keywords in ISC

Problem

By default, the Meta tags in Category page is always empty unless you define the meta description and keywords manually for each category.

Solution

In /includes/classes/class.category.php

Find

$this->SetMetaKeywords($category['catmetakeywords']);
$this->SetMetaDesc($category['catmetadesc']);

Replace

$this->SetMetaKeywords("buy ".$category['catname'].", cheap ".$category['catname'].", ".$category['catname']." shop, ".$category['catname']." products, ".$category['catname']." sale, best ".$category['catname'].", ".$category['catname']." supply,".$category['catmetakeywords']);
$this->SetMetaDesc("Buy best quality ".$category['catname']." from ".GetConfig('StoreName')." with Free Shipping Worldwide!");

Leave a Reply

Your email address will not be published. Required fields are marked *