Monday 20 May 2013

Image resizing without white spacing in magento products grid or category page

<?php echo $this->helper('catalog/image')->init($_product, 'image')

Wednesday 15 May 2013

How do I change the default text “Search entire store here” in the Search box?


            var searchForm = new Varien.searchForm('search_mini_form''search''<?php echo $this->__('Search entire store here...') ?>');
searchForm.initAutocomplete('<?php echo $this->helper('catalogsearch')->getSuggestUrl() ?>''search_autocomplete');

Friday 10 May 2013

Magento add css file from admin cms page layout

<reference name="head">
  <action method="addItem">