How to get different Feature Image size Magento – Fishpig

You can change “getAvailableImage” to anyone of these to pull the different images sizes that wordpress produces:

File path /app/design/frontend/base/default/template/wordpress/post/list/renderer/default.phtml

getImageByType($type = 'thumbnail')

Magento Released Community Edition 1.8

Magento released Community Edition ! This new edition improves tax calculations, boosts product quality and stability, enhances performance, and advances security for the rapidly growing Magento community.

Key highlights include:

Enhanced Tax Calculations
Magento Community Edition 1.8 improves tax calculation accuracy for VAT merchants and eliminates potential rounding errors that can be confusing to buyers. Knowledge Base updates also provide more guidance on tax configurations and Canadian tax requirements, enabling you to more fully benefit from the native Magento tax engine.

Functional Improvements
We made approximately 350 functional improvements that boost product quality in key areas, including the web store, shopping cart, admin order creation, import and export functionality, web API components, and payment methods.

Performance Improvements
Magento Community Edition 1.8 enables a better shopping experience through faster page-loading in the checkout process and optimized cache adapters for single server systems, which minimize the number of cached pages that must be refreshed when product updates are made. The performance of the 1.8 administrator panel is also improved for those of you with large product or order databases.

Security Enhancements
Through a number of enhancements, we also strengthened the security of Magento Community Edition.

Updates to the Alpha Release
A few new updates were made to the alpha version of Magento Community Edition 1.8. We removed the requirement to have globally unique category and product URL keys, giving you greater flexibility in your URL structures. We also incorporated the recent USPS API patch, DHL code updates, and the latest Redis backend cache code, now called Cm_Cache_Backend_Redis.

Click here to download

How to remove “Orders and Returns” from the footer link Magento ?

For removing “Orders and Returns” at footer link go to your theme layout folder and open sales.xml . Then comment out the code

        <reference name="footer_links">
            <block type="sales/guest_links" name="return_link"/>
            <action method="addLinkBlock"><blockName>return_link</blockName></action>

You can get it bottom of the page

How to display currency symbol after price?

Sometime we need display currency after price in Magento. Anyone can easily do this by changing “‘position’ => self::RIGHT,” around line no 70 at file /lib/Zend/Currency.php


Remove registry data magento

To remove magento registry data use this code


Get array index key

$color = array(
    'red' => '3',
    'white' => '5',
    'blue' => '3',
    'black' => '10');

while ($color_value = current($color)) {
        echo key($color).'<br />';

Display custom customer field in admin at magento 1.6

To make the new customer attributes saveable in frontend (register and edit) and display admin section execute this code.

eavConfig = Mage::getSingleton('eav/config');
$attribute = $eavConfig->getAttribute('customer', 'your_new_attribute');
$attribute->setData('used_in_forms',   array('customer_account_edit',

To make the new customer address attributes saveable in frontend (register and edit) and display admin section execute this

eavConfig = Mage::getSingleton('eav/config');
$attribute = $eavConfig->getAttribute('customer_address', 'your_new_attribute');
$attribute->setData('used_in_forms',   array('customer_register_address',