Magento Themes and Magento Extensions

Magento Installation fetal error or a blank page

Posted on August 26th, 2014 | Posted by admin

Run this SQL quires after importing your database. have fun

UPDATE `core_store` SET `store_id` = 0 WHERE `code` like ‘admin’;
UPDATE `core_website` SET `website_id` = 0 WHERE `code` like ‘admin’;
UPDATE `customer_group` SET `customer_group_id` = 0 WHERE `customer_group_code` like ‘NOT LOGGED IN’;

Magento – Add Remove top links using Layout.xml

Posted on August 25th, 2014 | Posted by admin

Magento – Add Remove top links using Layout.xml

Removing or Adding top links in the header section of the theme is very easy via Layout.xml files. However we need to edit multiple files to accomplish this task like wishlist.xml, customer.xml, checkout.xml etc.

1. To Remove Wishlist link from top links

Open the file /app/design/frontend/package/theme/layout/wishlist.xml and find the lines given below, simply comment these lines to remove the wishlist link.

Leveraging Magento for Cost Reduction and Customer Retention

Posted on August 23rd, 2014 | Posted by admin

E-commerce businesses need to focus on how they are going to create their website and enhance the shopper experience for customers. Magento is just one of the options available to them and the website is the most important aspect of doing business online. While products and customer service are important, people will never be able to discover these without first having a sufficient website layout. This is where Magento is being leveraged in order to offer a variety of benefits.

Cost Reduction with Magento

Magento offers the ability to do more things with less money. The program is entirely scalable, allowing businesses the ability to grow and still maintain the same software program. The program is capable of handling multiple sites, high volumes of products, and high volumes of traffic. This ensures that a company is able to reach out for new business without having to spend more on the design of their website.

getting the last page number in magento

Posted on August 20th, 2014 | Posted by admin

I am recently working on a $this->getLastPageNum()project and I was changing the pagination in order to indicate the total pages by the current collection size
as I knew the functions from product catalogs I wanted to count it myself to use


to get the current limit for each products per page and also use the total number of all products


How to display Parent Category of a subcategory

Posted on August 18th, 2014 | Posted by admin

In Magento : To display the parent category of the subcategory you are located in you will have to use the current code. We used this into a file called list_parent.phtml located on our sidebar on this location:
/app/design/frontend/default/YOUR THEME/template/catalog/navigation/list_parent.phtml

<div> <strong><span><?php echo $this->__('Browse By') ?></span></strong> </div>
<dl id="narrow-by-list2">
  <dt><?php echo $this->__('Category') ?></dt>
                $currentCat = Mage::registry('current_category');
                //if Rootcategory display current category only
                //this gets around the problem of displaying DEFAULT CATEGORY
                if ( $currentCat->getParentId() == Mage::app()->getStore()->getRootCategoryId() )
                    //Display current category
Page 1 of 15212345»102030...Last »