Zend Anwar

Full stack web developer

Category: Magento

Magento

Moving Magento to a new server

Moving magento to a new server it is very simple but very careful about some changes.Please follow my step hope it will work properly. Export your database all tables are included from current phpmyadmin. suppose your development site is located at http://example.com and your live site is located at http://yourdomain.com. Now open your exported .sql […]

Read More

How to remove the “Move to Wishlist, Edit, Move” column from the shopping cart in magento?

How to remove the “Move to Wishlist, Edit, Move” column from the shopping cart in magento? app/design/frontend/<package>/<theme>/checkout/cart/item/default.phml if you don’t get this in your theme please find out from base.Copy defualt.phtml paste into your theme “item” folder. Please comments out below code to remove “Edit option”, May be line number 70. <td> <?php if ($isVisibleProduct): […]

Read More

How to solve Magento 500 Server Error?

How to solve Magento 500 Server Error? 500 Internal Server Error. This error has been occure due to inappropriate file permissions. To solve this error, change the file permission on index.php file hope it will solve this problem. Go to your cpanel, And click File Manager and then change the file permission of index.php file […]

Read More

How to get sub category of a category in magento?

How to get sub category of a category in magento? just follow the below code.  <?php $_helper = Mage::helper(‘catalog/category’); $_categories = $this->getCurrentChildCategories(); foreach ($_categories as $_category) : if (count($_subcategories) > 0) : $_category = Mage::getModel(‘catalog/category’)->load($_category->getId()); $_subcategories = $_category->getChildrenCategories(); foreach ($_subcategories as $_subcategory): <li><a href=”<?php $_helper->getCategoryUrl($_subcategory) ?>”><?php echo $currentCat->getName();?></a></li> endforeach; endif; endforeach; ?> Hope it will […]

Read More

How to change Email Templates in Magento?

How to change Email Templates in Magento? app\locale\en_US\template\email\   Here 20 html file. You can change or edit email template.   Hope it will you.

Read More

How to call a .phtml file in magento cms page ?

How to call a .phtml file in magento cms page? {{ block type=”catalog/product_list” name=”product_list” template=”catalog/product/list.phtml”}} inside template=”” you can write your file path. and in name=””you can give proper and unique name , in type=”” you can write your module directory also(e.g:- customer/form_login if you are calling mini.login.phtml file). One more way to call a .phtml file. […]

Read More

404 error problem in Magento.

404 error problem in Magento just logout and login hope it will solve.

Read More

Meganto Banner slider not showing in home page

Meganto Banner slider not showing in home page After installation, to make a slideshow on homepage, please go to CMS->Manage Page, choose your cms homepage, and add this line of code to where you want to show banner slider: {{block type=’bannerslider/bannerslider’ template=’bannerslider/bannerslider.phtml’}}   Hope it will work.

Read More

Magento Fatal error: Call to a member function setStoreId() on a non-object in /app/code/community/Magestore/Bannerslider/Block/Adminhtml/Bannerslider/Edit/Tab/Form.php on line 32

Magento Fatal error: Call to a member function setStoreId() on a non-object in /app/code/community/Magestore/Bannerslider/Block/Adminhtml/Bannerslider/Edit/Tab/Form.php on line 32 just comments below code: Like as : //$model->setStoreId(Mage::app()->getStore(true)->getId());   Hope it will work.

Read More

How to change Magento DataBase configuration file?

How to change Magento DataBase configuration file? If you want to chang the Magento DataBase name, location or simple changed your username or password, please follow below information into the file: /app/etc/local.xml May be line number 43.   <host><![CDATA[Your_Domain_name/Or_host_name]]></host> <username><![CDATA[Your_user_name]]></username> <password><![CDATA[Your_password]]></password> <dbname><![CDATA[Your_Database_Name]]></dbname> Hope it will work., Have nice day.

Read More