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();
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>
<?php
$attribute = Mage::getModel(‘eav/config’)->getAttribute(‘catalog_product’, ‘color’);
foreach ($attribute->getSource()->getAllOptions(true) as $option) {
echo $option[‘label’] . ‘ ‘ . $option[‘value’] . “<br />”;
}
?>
<?php
$obj = Mage::getModel(‘catalog/product’);
$_product = $obj->load(19);
$configurableAttributeCollection=$_product->getTypeInstance()->getConfigurableAttributes();
foreach($configurableAttributeCollection as $attribute){
echo “Attr-Code:”.$attribute->getProductAttribute()->getAttributeCode() .” – “;
echo “Attr-Label:”.$attribute->getProductAttribute()->getFrontend()->getLabel().” – “;
echo “Attr-Id:”.$attribute->getProductAttribute()->getId().” <br /> “;
}
?>
Use ->setPageSize($limit)
echo $currentPage = Mage::getBlockSingleton(‘cms/page’)->getPage()->getIdentifier();
echo $currentPageId =$this->getRequest()->getParam(‘page_id’);