Zend Anwar

Full stack web developer

How to add custom message in success page in magento.

How to add custom message in success page in magento. IT is very simple.You can costum message  add in your success page. Please goto app\design\frontend\<your theme>\template\checkout\success.phtml If not get success.phtml in your theme please go base theme and copy success.phtml and paste in your theme checkout folder. add following code or your custom message. Like […]

Read More

How to enable template path hints in Magento?

How to enable Template Path Hints in Magento? Template Path Hints is the one of the most important Feature in Magento for Developer and Designer .If you want to Modify of a Magento template then Template Path Hints will help you to find the actual location where the .phtml file located. Please follow below step. […]

Read More

I can’t upload product image in magento

I can’t upload product image in magento Some cases browser is fact please try opera browser. Hope it will be solve for Community Edition.

Read More

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

Underscore vs. hyphen in url in SEO

Underscore vs. hyphen in url in SEO There is no difference between them.You can use underscore or hyphen in url .Both are same in point of SEO.

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

What is effect between www.example.com vs. example.com for SEO?

What is effect between www.example.com vs. example.com for SEO? They have no difference between them. If you want your site to be accessed with both ways. Here is no problem for SEO.

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