Add the below given code on catalog/product/view.phtml
<?php if($_product->getTypeId() == “configurable”) echo “Its a configurable product”; ?>
Add the below given code on catalog/product/view.phtml
<?php if($_product->getTypeId() == “configurable”) echo “Its a configurable product”; ?>
<?php echo Mage::getResourceModel('catalog/product')->getAttributeRawValue($productId, 'attribute_code', $storeId); ?>
<?php echo $this->getLayout()->getBlock(‘breadcrumbs’)->toHtml(); ?>
<?php echo $this->getLayout()->createBlock(‘cms/block’)->setBlockId(‘static-clock-identifier’)->toHtml() ?>
Set session
=========
$myData = ‘PHPCodez’;
Mage::getSingleton(‘core/session’)->setMydata($myData);
get session value
=========
$myData = ”;
$myData=Mage::getSingleton(‘core/session’)->getMyData();
Unset session
=========
Mage::getSingleton(‘core/session’)->unsMyData();
I have fixed this issue by commenting the constructor and destructor in the file lib/Zend/Pdf/FileParserDataSource.php .
abstract public function __construct();
abstract public function __destruct();
1) Add a new class “over_all_fit_required_entry”
<input type=”hidden” name=”over_all_fit_selected” id=”over_all_fit_selected” class=”over_all_fit_required_entry”>
2) Add the below given code
<script type=’text/javascript’>
//< ![CDATA[
Validation.add(‘over_all_fit_required_entry’, ‘ Please select option’, function(v) {
return !Validation.get(‘IsEmpty’).test(v);
});
//]]>
</script>
<?php $order = Mage::getModel(‘sales/order’)->load($this->getOrderId()); ?>
<?php $orderData = $order->getData(); ?>
<?php echo $orderData[‘customer_firstname’]; ?>
<?php echo $orderData[‘customer_email’]; ?>
Go to Admin > CMS > Pages > Design > Layout Update XML and paste the below given code
<reference name=”head”>
<action method=”setForcedTitle” translate=”title”>
<title>Account Settings</title>
</action>
</reference>
and modify the head.phtml
<title><?php echo ($this->getForcedTitle()) ? $this->getForcedTitle() : $this->getTitle() ?></title>
Include the below given code in xml file
<reference name=”head”>
<action method=”setForcedTitle” translate=”title”>
<title>Account Settings</title>
</action>
</reference>
and modify the head.phtml
<title><?php echo ($this->getForcedTitle()) ? $this->getForcedTitle() : $this->getTitle() ?></title>