How to fix top 10 Magento issues that can destroy your web store

Magento is the most popular e-commerce platforms for e-commerce business. Magento is the very reliable platform which powering more than 29% of the ecommerce stores followed by wooCommerce 26% and shopify 11% in the Alexa’s top one million websites.

It is a powerful platform but it is still a software program and there are few particular problems. We’ve collected the top 10 Magento issues and providing their solutions.

Problem 1:

How to re-set or change password of Magento admin

Solution:

There are two way to reset or change password.

Method 1:  (Less Secure)

If you want to reset or change the password then you need to navigate to phpMyAdmin, then select the corresponding database and find admin_user table. Here in admin_user table, you can replace the old password with a new one. Here make sure your password should be in a MD5 function

Method 2:  (More Secure)

Second way to change the password is to insert the following MySQL query into SQL tab

For Existing user:

UPDATE admin_user SET password = CONCAT(MD5(‘xxNewPassword’), ‘:xx’) WHERE username = ‘UserName’;

xxNewPasswordyou new password (exp. [email protected])

UserName: user name of admin

For New and Existing user:

If you have a clean development/test environment and you want to add a new admin user from scratch, then please do the following MySQL queries. This Query is also useful for updating existing users.

#Creating new admin user or updating existing one by username

INSERT INTO admin_user

 (email, username, password, is_active)

VALUE

 (‘[email protected]’,’magento’, (SELECT MD5(‘password’)), 1)

ON DUPLICATE  KEY UPDATE

username = ‘magento’, password =(SELECT MD5(‘password’)),is_active=1;

# Creating default admin-user group if not existing. Necessary on clean installation – there’s no Administrators group, thus no permissions can be granted to admin user

INSERT IGNORE INTO admin_role

   (parent_id,tree_level,sort_order,role_type,user_id,   role_name)

VALUES (  0,    1,    1,   ‘G’,  0,  ‘Administrators’);

# Creating our account to access all things in admin panel

INSERT INTO admin_role(parent_id,tree_level,sort_order,role_type,user_id,role_name)

VALUES

( 1,  2,  0,  ‘U’,(SELECT admin_user.user_id FROM admin_user WHERE username = ‘magento’), ‘Super User’);

Problem 2:

How to solve ‘Access Denied’ issue of Magento

Solution:

If you want to solve an “Access Denied” issue, then you need to log out from Magento admin panel and then login back again.

Then go to:

System > Permissions > Roles > Administrators 

And then make sure that Resource Access is set to All.

Now click Save Role button and then this issues will be fixed.

Magento Development Company - AresourcePool

Problem 3:

How to change your Magento Admin URL

Solution:

If you want to change default Magento URL (/admin/), then navigate to app/etc/ and open local.xml file. Find the code:

<admin>     
<routers>         
<adminhtml>            
 <args>               
  <frontName><![CDATA[admin]]></frontName>             
</args>        
 </adminhtml>     
</routers>
</admin>

And change the “admin” value.

Now clear the cache of Magento, then test if new URL is working or not and make sure that an old one returns 404 code. 404 error represent that earlier or provided URL is no longer available.

Problem 4:

How to create SEO Friendly URLs in Magento

Solution:

As per google suggestion following are:

SEO friendly URL:         /product-catalog.html

Not SEO friendly URL:      mycatalog/productlist/view/id/342267

To get SEO friendly URL on your Magento, you should navigate to:

 System >>Configuration

Magento Development Company - AresourcePool

Now select “Web” from the left navigation menu,

Then select Search Engine Optimization

Now set Use Web Server Rewrites to Yes and click Save Config button… Now your Magento SEF URLs will be enabled.

Magento Development Company - AresourcePool

Problem 5:

How to disable the “Compare products” functionality

Solution:

If you want to disable compare functionality on Magento then go to your Magento root folder, find app/code/core/Mage/Catalog/Helper/Product/Compare.php

and replace following:

public function getAddUrl($product)

{

return $this->_getUrl(’catalog/product_compare/add’, $this->_getUrlParams($product));

}

Replace above code with following

public function getAddUrl($product)

{

//return $this->_getUrl(’catalog/product_compare/add’, $this->_getUrlParams($product)); return false;

}

Now you need to find /app/design/frontend/base/default/layout/catalog.xml

And editcatalog.xmlfile.

Don’t forget to use your theme name if you are not using a default one.

Find the below code in catalog.xml file

<block type=”catalog/product_compare_sidebar” before=”cart_sidebar” name=”catalog.compare.sidebar” template=”catalog/product/compare/sidebar.phtml”/>

And replace above with following code

<!–<block type=”catalog/product_compare_sidebar” before=”cart_sidebar” name=”catalog.compare.sidebar”

template=”catalog/product/compare/sidebar.phtml”/> –>

Once done with above modification in your file, then clear the Magento Cache from 

Admin area >> System >> Cache Management

Problem 6:

How to set-up your Magento site on a New Domain

Solution:

If you want to change your configured Magento website from:

www.abc.com => TO =>www.xyz.com

Then you need to do two things…

  1. Edit database settings

Now Open cPanel-phpMyAdmin and then select your Magento database from the left menu and find the table core_config_data.

In core_config_datatable, you can see two fields:

  1. web/unsecure/base_url
  2. web/secure/base_url.

Now Change your old domain name with your new domain name and click the Go button to save the all changes.

  • Clear cache

The cache folder is located in your Magento installation directory – /var/cache. To clear the cache, you just delete the folder and go to your Magento admin System > CacheManagement and clear all Cache.

Problem 7:

Magento categories are not showing on the frontend

Solution:

Sometimes categories are not showing, there may be several reasons for that. Then what to do?

Then First of all, make sure that all your created categories are placed inside the default category. And also, Is Active and Is Anchor (inside Display Settings tab) should be set to Yes.

Now after above changes, check if the Root Category is specified correctly.

And finally, you may need to do Refresh Cache (it’s inside System >>Cache Management)

Problem 8:

How to Add a Contact Us form in Magento

Solution:

Contact form functionality in Magento is included in by default. In Magento store, you can see the link of contact Page is usually shown in the footer of Magento store. If you want then you can add a contact form on any page as per your requirement.

Now follow the steps:

Login into your Magento admin and go to CMS > Pages and click on new page button.

Now use the following code in your new page content field as shown in right side in above image:

<!– CONTACT FORM CODE BEGIN–>                                                           

{{block type=’core/template’ name=’contactForm’ template=’contacts/form.phtml’}}

<!– CONTACT FORM CODE END–>

Now click on Save Page and then contact form will appear on that page.

Problem 9:

Redirect Magento to open through www

Solution:

If you want to make your Magento website open through WWW, then you need to access .htaccess file. This .htaccess file is located in the Magento root folder. Now search RewriteEngine and insert the following given code in .htaccess file.

RewriteCond %{HTTP_HOST} ^mydomain.com$ [NC] RewriteRule ^(.*)$ http://www.mydomain.com/$1 [R=301,L]

Now save the .htaccess file, then login into your Magento Admin and navigate to System > Configuration > Web. After that Unfold the Unsecure tab and change the base URL to http://www.mydomain.com instead of http://mydomain.com.

Click Save Config and your Magento store will start working through http://www.mydomain.com.

Problem 10:

How to set up a blog in Magento

Solution:

In Magento, It doesn’t have a blog functionality by default. But it can be done with the help of a custom extension. If you don’t want to spend time searching, just try Blog extension.

In Magento, Installing a blog extension is similar to the general extension.When blog extension will be installed then you will have an additional section in the top Menu of Magento admin panel that’s called Blog.

Why we Blog needed in Magento:

  1. Blogging Attracts Organic Traffic to your Magento Store
  2. It Achieve Higher Rankings
  3. Blog helps to Increases Engagement
  4. In blog you can Showcases Your Products
  5. Blog helps to gains Consumer Confidence
In this post we have covered some common but very important Magento problems. Many Magento users are suffering with these problems. We have tried to provide solutions of the most common problems in this post.

Appoint a dedicated Magento Programmer to keep you competitive in the market

Hiring expert, dedicated developers from Magento Programmer India is also considered to be the most effective means to make website applications and even ecommerce based product stores. Magento is a well-liked open source ecommerce software platform that presents numerous features to create strong applications. It is also the most reliable platform and is used by the world’s chief brands. So, to cultivate your online business at a fast rate, it is very important to hire an expert and dedicated Magento Programmer.

magento-programmer
Various Benefits of Hiring an Expert Magento programmer

Hiring Magento Programmer India helps to gain access to talented resource and this finally helps in redefining an ecommerce site that leads to advanced interactivity together with enhanced online presence. There are numerous benefits of working with dedicated developers as well as one of the major advantages is that you can remain in contact with the developer from the start of your complete project till its end. You will be alert of the stage by stage development as well as in case any changes are required in the planning, then it can be simply implemented without any holdup. It also helps to bring down the price of the whole project and you can avail flexible hiring plan slots on full time, part time or hourly basis based on your present requirements.

Having a whole team of experts to create your ecommerce store often gives you the benefit over your close market competitors. It is because of their superior quality work in the ecommerce industry that clients also faith them and this leads to the foundations of long term association with the clients. All their hard work, trustworthiness and flexibility promise that both the parties enjoy an excellent association between them.

What you shall do to hire Magento Programmer?

If you are planning to hire expert Magento programmers, then looking for a few reputed software development companies that present Magento development services can assist. There are lots of companies that suggest dedicated services and you can hire expert developers according to your requirements. But prior to you select a company, you should do thorough research to check their trustworthiness, standard as well as reputation in the market.

Official Site of Magento Programmer India: This is one of the best places where you can look for expert Programmers. You will find references to a choice of companies and these companies are established and checked and a lot enjoy a good reputation in the marketplace. You can prefer programmers according to your needs by contacting various companies and also by checking their online portfolios.

Hiring Magento Programmer from a group of freelancers can at times be an unsafe job, but if it is done cautiously then it can be fair. There are lots of expert programmers who work as freelancers during their extra time and hiring them will not only decrease the cost of your project, but you can also take benefit of skilled resources simply.

Look an expert Ecommerce Website Development Company

Ecommerce website development is a very popular choice for businesses, given their vast scope in facilitating sales as well as transactions online, safely and easily. Contrary to normal websites that merely provide information on a company’s products as well as services, e-commerce websites facilitate visitors to also purchase the available products. These are then delivered at the client’s doorstep within the predetermined time.Ecommerce or electronic commerce web development services are accessible readymade (for example shopping cart solutions) or custom-made from service providers. While the readymade ones are accessible with annual subscriptions, the bespoke ones are designed as per particular customer necessities. A few exciting features of a superior ecommerce website are sales tracking, payment gateways, image upload, as well as currency exchange. Other supporting features comprise web certificates, promotions, discounts as well as newsletters.

ecommerce-website-development

Optimized Online Presence through Ecommerce Website Development

The usefulness of ecommerce website development has improved in the recent times, with the introduction of credit cards. Credit cards facilitate easy as well as simple steps to online payment. With the increasing fame of ecommerce websites, their innovativeness, advancement as well as safety have also gone up. In the wake of the 2008-2009 recessions, every ecommerce website development companies are promising to outdate their near competitor, be it costs, design, appeal, good looks or navigability. Consequently, seeking the right ecommerce web site development company is very important.

The most excellent service providers ensure error-free functioning of the website by employing the best as well as most advanced support-based application software. Because online commerce can happen anytime during a day, the application must be competent to function accurately without any human interference at all times. Therefore, spending time on the Internet to find the top service provider is a must in ensuring the victory of your ecommerce website.

Best way to Select an Ecommerce Website Development Company for your business

Tips given here can help you find the top ecommerce or electronic commerce / web development company:

Specialty, creativity with capabilities: Choose an expert service provider with expertise as well as experience in its domain. You can browse through their folder, understand their capabilities, talk to given references or visit their blogs to gather more information. A skilled service provider provides the best creative inputs for your ecommerce website, delving on their huge experience and thus creating a website that surpasses your prospect.

8 easy steps to Develop Custom Module in Magento

Magento is an open source platform written in PHP . It is basically used in setting up ecommerce store for any business. imilar in this article we will learn how to develop custom module will learnin Magento. Custom module structure is similar in all versions of Magento.

Whenever you do install Magento, you will look the following Magento Directory structure:

Before starting with Module development:

1-Let us assume that you already have a working copy of Magento with version 1.7 or 1.7+

2-Firstly disable the cache.

For disabling the cache go to:

Magento Admin Panel -> System -> Cache Management -> Select all cache type from left side checkboxes -> Select Action: disable from right to drop down > click Submit.

Custom Module Development:

See below, there are listed some easy steps to that will help you to create your own demo module.

STEP: 1 -> Create New Folder inside Magento/app/code/local/ Directory Module namespace name AResourcePool

STEP: 2 -> Create New Folder inside Magento/app/code/local/ AResourcePool Directory Module name Demo

STEP: 3 -> Create New file inside magento/app/etc/Modules/ AResourcePool_Demo.xml

Paste This Code on this file

<?xml version=”1.0″ ?>

<config>

<modules>

< AResourcePool _Demo>

<active>true</active>

<codePool>local</codePool>

</ AResourcePool _Demo>

</modules>

</config>

STEP: 4 -> Please Check your Module registered or not form adminpanel

System-> Configration->ADVANCED->advanced-> Click on Disable Module Output

STEP:5-> Create Directories inside your module link Module/app/code/local/AResourcePool/Demo/

Block

Model -> Product.php

Controllers

Helper

etc -> config.xml

sql

STEP:6-> Create New File “Product.php” inside Model folder on out module

Product.php

class AResourcePool_Demo_Model_Product {

public function sayHello() {

echo ‘Hi this is testing module’;

}

}

STEP: 7-> For Test that your Module is working or not, create a file in your root magento folder like test.php and call your class and function.

<?php

require_once ‘app/Mage.php’;

Mage::app();

$product = new AResourcePool_Demo_Model_Product;

$product->sayHello();

STEP: 8 -> After that run this file on browser like localhost/Magento/test.php
Then display output of your module function.

For Magento Development you can Hire Web Designer India or Magento Developer India at AResourcePool.