Archive for April, 2011
<?php $cats = Mage::getModel('catalog/category')->load(3)->getChildrenCategories(); ?> <ul> <?php foreach($cats as $category): ?> <li> <a href="<?php echo $category->getUrl() ?>"><?php echo $category->getName() ?></a> </li> <?php endforeach; ?> </ul> in here 3 is parent category ID for more magento tutorial visit: http://blog.free-extension.com[ READ MORE ]
Suppose You want to search a product in specific Category This code will help you. for this you just need to go catalogSearch and paste this code in form.mini.phtml then you will show the result this above code is only for Displaying Current category and if someone want to search in specific category then you [ READ MORE ]
Today for purpose of one my freelancing project I have added attribute to new order Email . So i am going to share this. Just you have to work on two file only 1. app->design->fronend->themname->default->template->email->order->items.phtml in here you have add column heading then you have to go 2. app->design->fronend->themname->default->template->email->order->items->order->default.phtml here to add attribute you should [ READ MORE ]
As my Title of post this common problem in magento.. This is caused by sever execution time or file access permission problem. Today I have solved this problem by a simple task here I have rename the locks folder———-var/locks then tried again reindexing problem is solved. for more magento tutorial visit: http://blog.free-extension.com[ READ MORE ]
Enter your email address to subscribe to this blog and receive notifications of new posts by email.
Join 7 other followers
Get every new post delivered to your Inbox.