Turn off block caching while declaring the XML block
In your local.xml file:
<block type="mymodule/mymodule_block" name="module_name" as="module_name_alias" template="mymodule/uncached_block.phtml" after="-" />
Notes: Sourced from http://blog.magikcommerce.com/how-to-turn-off-cache-for-an-individual-block-in-magento/
Have you ever tried to remove a My Account navigation item via local.xml, it’s not easy right!? After some research and the help of a few magento community members I came across a snippet of code which allows you to remove items using method=”removeLink”.
public function removeLink($name)
To implement this snippet of code, you had to modify core functionality and I thought to make it a little cleaner, I would create a simple magento extension.
You can download it here: PaulDonnelly_RemoveLink
To remove links view removelinks.xml and uncomment the links you would like to remove.
You may also move the contents of customer_account_navigation to local.xml.
Please note: I have only tested this in 126.96.36.199 and 188.8.131.52. Always take backups!!
It’s happened to us all folks, you log onto the admin dashboard you see an new order in the last 5 orders list and automatically think to yourself, “Nice, I have a new order!”. Well hold on a minute, this is not always the case, the order could have be abandoned or pending payment. This has happened to me a few too many times this week so I decided, I NEED to have the order status along with the Customer Name, Items & Grand Total.
If you follow the instructions below, I will show you how to add Status to the Last 5 Orders grid.
First of all, and this is a must when modifying any core files, create a local copy of the following file:
Open your local copy of Grid.php and around line 114 add the following:
'header' => Mage::helper('sales')->__('Status'),
'index' => 'status',
'type' => 'options',
'width' => '70px',
'sortable' => false,
'options' => Mage::getSingleton('sales/order_config')->getStatuses(),
Save and upload the local copy and you should now have a column called Status in your Last 5 Orders.
/* Sender Name */
/* Sender Email */
Continue reading Magento – Get Store Email Addresses
In Magento version 184.108.40.206, I noticed when previewing a transactional email it displayed in html only. Obviously this isnt right so I come up with this little fix. Continue reading Magento Fix – Transactional Email Preview Showing HTML only