Wednesday 11 April 2012

Free

Free:

List of free extensions http://www.9magentothemes.com

Friday 6 April 2012

Service Temporarily Unavailable The server is temporarily unable to service your request ..


Service Temporarily Unavailable

The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.

HERE IS THE SOLUTION: 
delete the following file from your root folder /magento/ installation
(or)
maintenance.flag
e.g. rm ./magento/maintenance.flag

Wednesday 4 April 2012

to call contact form in CMS page.


Go to CMS> Manage Pages interface
Insert the below code in content area

{{block type="core/template" name="contactForm" form_action="/contacts/index/post" template="contacts/form.phtml"}}

To print product category name in product description page


Go to catalog/product/view.phtml

<?php $categories = $_product->getCategoryIds(); ?>
<?php foreach($categories as $i => $_category_id): ?>
<?php $_category = Mage::getModel('catalog/category')->load($_category_id) ?>
<a href="<?php echo $_category->getUrl() ?>"><?php echo $_category->getName() ?></a>
<?php endforeach; ?>

Monday 2 April 2012

To add Sitemap to a Magento websites

It helps mostly for Search Engine Optimization(SEO).

-> Goto System> Configuration> Catalog> Google Sitemap. Enable all the options in there

-> Goto System> Configuration> Catalog> Catalog> Sitemap and enable the Sitemap Creation option.