<reference name=”left”>
<block type=”cms/block” name=”blockName” before=”-” >
<action method=”setBlockId”><block_id>block_identifier</block_id></action>
</block>
</reference>
<reference name=”left”>
<block type=”cms/block” name=”blockName” before=”-” >
<action method=”setBlockId”><block_id>block_identifier</block_id></action>
</block>
</reference>
before=”-” – It lists as the first block
after=”-“- It lists as the last block
before=”block_name” – To load before a block
after=”block_name” – To load after a block
<?php
header(“Expires: Tue, 07 Aug 2000 08:00:00 GMT”);
header(“Last-Modified: ” . gmdate(“D, d M Y H:i:s”) . ” GMT”);
header(“Cache-Control: no-store, no-cache, must-revalidate, max-age=0”);
header(“Cache-Control: post-check=0, pre-check=0”, false);
header(“Pragma: no-cache”);
?>
<?php
echo Mage::getSingleton(‘customer/session’)->getCustomerGroupId();
?>
<?php
if($this->helper('customer')->isLoggedIn())
echo “logged in”;
?>
If you are testing the authorise.net in test mode make sure that Gateway URL is
https://test.authorize.net/gateway/transact.dll
If its in live mode make sure that the details you have given are correct and the authorize.net account is active .
if(Mage::helper(‘core’)->escapeHtml($product->getTypeId())==”grouped”)
echo “Grouped Product”;
1) Change the directory to magento installation
2 cd app/code/core/Mage/Checkout/controllers
3) vi CartController.php
4) Search for $message = $this->__(‘%s was pramod added to your shopping cart.’, Mage::helper(‘core’)->escapeHtml($product->getName())); and edit the text
1) Change the directory to magento installation
2) cd app/code/core/Mage/Sales/Model/Quote/Address/Total
3) vi Shipping.php
Edit the code at the line number 168
1) Change the directory to magento installation
2) cd app/code/core/Mage/Sales/Model/Quote/Address/Total
3) vi Shipping.php
Edit the code at the line number 168