<?php
//for checking it is a CMS page, if true => show the order now button
$urlkey = Mage::getSingleton('cms/page')->getIdentifier();
//remove any symbol
$cleanUrlKey = trim(preg_replace("/[^a-zA-Z0-9]+/", " ", $urlkey));
if (!empty($urlkey)){
// write down your code!!!!!!
}
?>
沒有留言:
發佈留言