Archive | Ecommerce RSS feed for this section

Blog Shifted

13 Sep

Dear Friends,

I got lot of support from you and I am very happy to let you know that Finally I have migrated from WordPress Hosting to own hosted Blog.

Yes, I believe WordPress is the best blogging platform available in market. So I have used wordpress again for my blog.

Here is a link for my New Blog :-

I request all my followers to visit my site and suggest me, What can be done to make it more interactive and pleasing to see posts.

All your feedback and suggestions are welcomed.


Mukund Chaudhary

New Blog :


How to get Controller, Module, Action & Router Name in Magento

6 Sep

In most of the case you need to know the name of controller or module in order to debug. Simple one line code to get these. In my previous post written about skill a developer must have. So targeting developer this is another post for them

1. Get Controller Name In Template Files:


2. Get Action Name In Template Files:

$this->getRequest()->getActionName(); //the function inside the controller

3. Get Router Name In Template Files:


4. Get Module Name In Template Files:


Finding Controller, Module, Action & Router Name In Class Files:

5. Get Controller Name In Class Files:


6. Get Action Name In Class Files:


7. Get Router Name In Class Files:


8. Get Module Name In Class Files:


These functions i.e. getControllerName, getActionName, getRouteName, getModuleName are present in the class Mage_Core_Model_Url, you can display all the results by taking a vardump as

Hope this make sense to you and help you in debugging. Happy coding..:)

How to optimize the performance of a website.

3 Sep

Performance of a web page play a key role in conversion rate of your website. A fast website gets more user automatically. I decided to write on how to make the web pages loads faster.

Optimise performance of website

Optimize performance of website

If your answers is yes then, there are some of golden rule to be followed to make your site loads faster. They are as below:-

Rule 1: Make Fewer HTTP Requests

HTML take 10-20% time only however 80-90% of time spent in making HTTP requests for all the components (images, scripts, stylesheets, Flash, etc.) referenced in the HTML document. Using techniques as below, we can reduces response times of the pages by as much as 50%

  • Image Maps
  • CSS Sprites
  • Inline Images
  • Combined Scripts and Stylesheets

Rule 2: Use a Content Delivery Network
Content Delivery Networks (CDN) is a large distributed system of servers.The goal of a CDN is to serve content to end-users with high availability and high performance.

Rule 3: Add an Expires Header
A web server uses the Expires header in the HTTP response to tell the client how long a component can be cached.In Apace ExpiresDefault is set to 10 year.

Some useful techniques are as below:-

  • Expires Header
  • Max-Age and mod_expires
  • Empty Cache vs. Primed Cache
  • More Than Just Images
  • Revving Filenames

Rule 4: Gzip Components
Compression is a simple, effective way to save bandwidth and speed up your site. Smaller the file, faster it will loads.If you are using Apache, see how it work
Rule 5: Put Stylesheets at the Top
Put all your stylesheets at the top and remove unused content.
Rule 6: Put Scripts at the Bottom
Put script at bottom as anything below the script is blocked from rendering and downloading until after the script is loaded.
Rule 7: Make JavaScript and CSS External
Use external javascript and css as much as possible.

Rule 9: Reduce DNS Lookups
The Domain Name System (DNS) maps hostnames to IP addresses, just as phonebooks map people’s names to their phone numbers.DNS lookups add delays to the initial requests to a host. Making requests to a large number of different hosts can hurt performance.

Rule 10: Minify JavaScript
Always minify your javascript or css. There are various online tools available.(

Rule 11: Avoid Redirects
Redirects increase the load time as it has to look up two different address. Try to avoid redirects.

Rule 12: Remove Duplicate Scripts
Duplicacy in code normally happens but it can hurt your performance. So try to remove duplicacy in the code.

This article is based on Steve’s book High Performance Web Sites, published by O’Reilly.]

Customer Experience Always On Top

31 Aug

Customer experience is biggest thing in customer retention, and technical glitches, even minor ones, can have an enormous impact on a consumer’s perception of a company. Combine that with the undeniable fact that today’s contact centers (CRM) are extremely complex—featuring multiple communication channels, self-service applications, chat, agent groups,and the result is companies that sometimes are unaware of an issue until it is reported by a customer. Frustrated customers take their business elsewhere, and with word of mouth as a powerful influencer, they’re likely to take their friends’ business with them. With the advent of social media, a complaint that a few years ago would have been aired to a small circle of family and friends can now easily reach thousands, and potentially even millions, of others.

For Ex:- ABC comapany is not giving proper answer and not happy with their CRM team and shared it on social meadia like facebook and twitter. It goes viral in few minutes and also take your business in any direction.

Customer Experience








**Image Showing Customer Experience


Tracking certain key performance indicators (KPIs) is vital to better understanding the customer experience.

The top KPIs to monitor are:

Voice quality of service. Degraded voice quality does not reflect well on any company. It also leads to longer call times, since customers and agents struggle to understand each other and may be forced to repeat themselves. In extreme cases, customers will hang up and try again. A seemingly simple issue like poor voice quality can be extremely costly in both customer loyalty and overall value per call.

Repeat calls. A measurement of how many times a customer contacts the company before the issue is corrected, this KPI reflects how successfully agents are able to satisfy callers the first time.

Call abandonment rate. High abandonment rates indicate application problems, incorrect routing latencies in back-end communications, or inefficient management of customer service resources. These conditions result in frustrated customers who are unable to get their problems taken care of in an efficient and timely manner.

Call blockage rate. A metric utilized by most contact centers today, the call blockage rate calculates how efficiently customers can access services. When applications are not working correctly or the contact center cannot handle the sheer volume of customer inquiries, calls are not answered. A high blockage rate directly impacts customer satisfaction.
No company can afford to lose a customer as a result of a technical glitch. Implementing performance monitoring solutions to provide an end-to-end view of KPIs across the entire contact center can prove priceless in contributing to customer satisfaction and increasing a company’s bottom line.

In the end, customers just expect top-notch service whenever, and however, they choose to contact you.

** Refrence:-

Share your view and feedback…love to read your comments…:)

How to re-index data from command line in Magento

30 Aug

We all are agree that Magento is a powerful tool for ecommerce site but when it gets loaded with lots of data and images. Sometime it gets slower and you need to index your data.Indexes are additional database tables with some flat data, which allows to organize fast responses from the database.

Today I came up with how to use indexing in magento. If you are a magento developer, you might be familier with Index Management from Admin section of magento(Admin->System->Index Management). But when you have lots of data 10 thousand plus and lots of category, it might takes hours to update the indexes and sometime it shows time out error as it just break because of max_execution_time exceeding in php script. There is a solution, you can run reindex process from the command line.

I am expecting that you have a SSH access to your hosting server, Just login to your account and go to magento root and then in shell directory by typing below command.

cd [MAGENTO_ROOT]/shell/

List all the file by ls -l

You will find php indexer and check its status by tying below in your command line:-

php indexer.php –status

You will see something like this:-









To run index rebuild process you can run the next command:

php indexer.php –reindex catalog_product_price

You can use next arguments for different types of indexes:

  • catalog_product_attribute Product Attributes
  • catalog_product_price Product Prices
  • catalog_url Catalog Url Rewrites
  • catalog_product_flat Product Flat Data
  • catalog_category_flat Category Flat Data
  • catalog_category_product Category Products
  • catalogsearch_fulltext Catalog Search Index
  • cataloginventory_stock Stock status

You can also run the process in background by using & key.

Magento2 Coming soon to hit market

29 Aug

Magento 2 development team were on-hand to share key changes in Magento 2 project and discuss technical changes and developer recommendations. Team Magento working hard on making it more improved.

Magento 2 is an open source eCommerce R&D project facilitating the improvement of Magento Core products. With the new and improved features in Magento 2, it offer more functionality to merchants and continue to grow with the platform. Magento 2 is a prospective future version of the Magento e-commerce software, currently still in the development stage.

Some of Features That Magento 2 Offers
• Magento 2.0 will run on PHP 5.3 and Zend Framework as 1.0. And it will support MSSQL, Oracle and some other database as well. We can see that Magento keep growing and seek to support more and more popular platform soon.

• Performance is always an issue for Magento so it is recognized as resource hungry and not efficient. The team of Magento keep improving the performance of Magento version by version. With the 2.0, the performance of Magento will be expected at least 20% more faster than the latest Magento 1.x versions.

• Magento 2.0 uses jQuery library as its default JavaScript library. It’s a big plus for those who want to get rid of prototype and jquery conflict.

• The modules like catalog, customer, checkout, CMS, sales, etc will be components with high code coupling between each other. Now if you don’t want to use a certain module, you can simply disable it and write your own one.

• Magento uses Zend Framework but you can’t get this information easily as the directories structure of Magento 1.x series are quite different from the Zend Framework. For Magento 2.0, the directories structures will be quite similar to the Zend Framework.

Here is the folder structure showing magento2


You will also find some of the change in design of admin section. You can change the view and layout display.

Release Plan:- Release plan for magento has yet not declared as they are working on it as expected to release their alpha first and then solving all the bugs in beeta phase. Excited to see Magneto2.

Ecommerce:Tips to improve the after-sales service

26 Aug

Biggest drawback of online shopping is the time gap between purchasing and playing with goods.If you are an online shopper, you might be agree with me.Today I came with some of the tips that can enhance the user’s Interaction.

The after-sales period is a crucial time for retailers to show customers they are going the extra mile and to ensure they come back to the site for future purchases. However, the average score in this area was only 65% (according to study), so where can retailers improve?

According to a survey in 2012 most of customer don’t prefers to shop because of delay in shipments.

delivery_options-blog-full                                         >>>Click Here to View Larger Image

Some of tips to improve the after-sales service:

  • Send a confirmation email: Sending a confirmation mail is most crucial to the user’s. When a user completed their order,they are expecting to get a confirmation mail,failing which leads to misinterpretation that order is not placed successfully. This is common step followed by most of the company.
  • Delivery notifications: In an increasingly mobile world, it’s a nice touch to give customers the option of receiving a text message to confirm their delivery time. Again, if you are sending e-mails, make sure that the communication is clear and simple. 85% of companies take care of this notification.
  • Confirmation of dispatch: It is most important to let your customer’s know them, you have dispatched their order. It is better to have dispatched notifiaction by text and if you are not able to fulfil the order, make sure that you are not just letting them to wait. Instead give them a clear picture.Provide tracking details in email or in SMS which enables them to track thier product easily.
  • Loyalty counts: Make customers feels loyal by giving them loyalty points and all. Every e shoppers have a list of their favorite sites.Use your customer’s profile to nurture them with personalized offer via email or sms. Make sure that you don’t Spam their email. Sending 2-3 alerts in a week is enough.
  • Make delivery easy: Important to make the delivery easy and let your shoppers to choose the product they want and offer then an option to return the product. Try n Buy will be a good option if you can afford.
  • Feedbacks: Taking regular feedback from customers will make you enables you to identify what they want and where you are lacking. Good feedback on your site will boost the morals for new customers as well. Keep the survey going and offer them some kind of discount for attending the survey,so that most of them take part in your survey.


%d bloggers like this: