Zend Anwar

Full stack web developer

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

How can show “Home” in navigation bar?

How can show “Home” in navigation bar? If you want to add Home button in your navigation bar just follow below information. app\design\frontend\base\default\template\page\html you will get topmenu.phtml open the file. Replace from <?php $_menu = $this->getHtml(‘level-top’) ?> <?php if($_menu): ?> <div> <ul id=”nav”> <?php echo $_menu ?> </ul> </div> <?php endif ?> Replace to <?php $_menu […]

Read More

“This account is locked” problem solution in Magento

“This account is locked” problem solution in Magento Go to  your database and you will find admin_user table. Please edit following filed value manually failures_num,  lock_expires,  first_failure Above filed value should be null. Or You can run sql query in your database. UPDATE `admin_user` SET `failures_num` = 0, `first_failure` = NULL, `lock_expires` = NULL WHERE […]

Read More

How to improve your site pagerank?

How to improve your site pagerank? Unique Content Unique content is the king always. Every user want to know solution about their query.If your content is unique user will share with their friend. Don’t copy and paste in your site.This is harmful to improve your site page rank.Also don’t try to hidden content in your site.Remember […]

Read More

Can I add 42 million SKUs ?

Can I add 42 million SKUs ? State answer No. A relational database can handle 42 millions data there is no problem.but 42million data equal to 240GB database. It will be make reindexes run forever. Remember Performance will almost be all of your focus, more products in your store means a slower store, with tweaks, […]

Read More

What is Magento?

 What is Magento? Magento is a feature-rich eCommerce platform, built on open-source technology, that provides online merchants with unprecedented flexibility and control over the look, content, and functionality of their eCommerce store. Magento’s intuitive administration interface features powerful marketing, search engine optimization, and catalog management tools to give merchants the power to create sites that […]

Read More