Here I am add the Custom Field for the Customer Registration Form using the database, It’s very simple to add…
Uncategorized
You can easily get controller name, action name, router name and module name in any template file or class file….
Make copy /app/code/core/Mage/Core/Model/Email/Template.phpToapp/code/Local/Mage/Core/Model/Email/Template.php Make the condition false near about line number 407Current Code if ($this->hasQueue() && $this->getQueue() instanceof Mage_Core_Model_Email_Queue) { …
<!– FOR THE ASSOCIATED PRODUCTS–><?php $config_product_id = Mage::registry(‘current_product’)->getId();?><?php //if ($_product->isSaleable() && count($_attributes)):?><?php $product=Mage::getModel(‘catalog/product’)->load($config_product_id); $productAttributeOptions = $product->getTypeInstance(true)->getConfigurableAttributesAsArray($product); $attributeOptions = array(); $ids…
A collection is basically a Model type containing other Models, it is basically used in Magento to handle product lists…
Magento Provide Transitional emails which will allow to create or customize our won email templateSome of the Template variable which…
<?php $setup = new Mage_Eav_Model_Entity_Setup(‘core_setup’); $setup->removeAttribute(‘catalog_category’,’category_color’); $setup->addAttribute(‘catalog_category’, ‘category_color’, array( ‘group’ => ‘General Information’, ‘input’ => ‘select’, ‘type’ …
C:> mysql -hlocalhost -uroot -proot mysql> SHOW VARIABLES LIKE ‘wait_timeout’; If this is very low (e.g. 30 seconds) then increase…
Issue was with some kind of Zend cache! I simply went to magento/lib/Zend/Cache/Backend/File.php and changed the ‘cache_dir’ => null, to…
Once you’ve accessed your site via SSH, change in to the directory where Magento is installed and run the following…