dynamic meta tag and dynamic sitemap postc cms page

0
142

https://vesimi.com/
dynamic meta tag and dynamic sitemap postc cms page

$onCatalog = false;
if(Mage::registry('current_product')) {
$onCatalog = true;
$product_id = Mage::registry('current_product')->getId();
$obj = Mage::getModel('catalog/product');
$_product = $obj->load($product_id);
}
if ($onCatalog == true) {
$p_title = "Shop ".$_product->getShortDescription()." at Vesimi";
$d_title = explode(' - ',$this->getTitle()); ?>

<meta name="description" content="Buy getShortDescription(); ?> designed by at the Vesimi Online fashion store. All sizes available!" />
<meta name="keywords" content="getKeywords()) ?>" />

getTitle() ?>
<meta name="description" content="getDescription()) ?>" />
<meta name="keywords" content="getKeywords()) ?>" />